Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autocompletion for genus + species in search #38

Open
lukasjelonek opened this issue Sep 25, 2023 · 1 comment
Open

Add autocompletion for genus + species in search #38

lukasjelonek opened this issue Sep 25, 2023 · 1 comment
Labels
enhancement New feature or request Priority medium default priority, handle after high priority issues are done

Comments

@lukasjelonek
Copy link
Member

When entering the first characters the system should provide suggestions, based on all available values in gtdbtk.classification.

@lukasjelonek lukasjelonek added enhancement New feature or request Priority medium default priority, handle after high priority issues are done labels Sep 25, 2023
@lukasjelonek
Copy link
Member Author

The autocompletion can be created directly from the index data.

Implementation suggestion:

  • create autocompletion action for field gtdbtk.classification

    • processes all classification values from all documents
    • filters unique values
    • stores unique values in an autocompletion index
  • autocompletion action

    • /autocomplete/gtdbtk.classification?text=abc
    • returns 20 suggestion documents
    • UI generates entries for all levels, as we do not store partial classifications
    • When the user selects a classification a query will be created for the selected classfication level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority medium default priority, handle after high priority issues are done
Projects
None yet
Development

No branches or pull requests

1 participant