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

Incomplete Autocomplete? #71

Open
Ksepka opened this issue Jan 7, 2015 · 1 comment
Open

Incomplete Autocomplete? #71

Ksepka opened this issue Jan 7, 2015 · 1 comment
Labels

Comments

@Ksepka
Copy link
Collaborator

Ksepka commented Jan 7, 2015

Reported by Rachel:

In "advanced search" stage, using common, rather than scientific/proper names - the "by tip taxa" and "by clade" options won't let me search for items that don't appear in the autofilled list (which includes some but not all common identifiers).

For example, I can search for "lizard" in the main search box, but not in the taxon specific boxes, which only let me search for things beginning with "lizard'. "snake" is another example.

I think this is because whatever is infilling those boxes is a non-exhaustive lists of the common names - I have no problem searching for "cat", "dog", or "cat" + "dog". Another example is "chimp", which brings up results via the main box, but not the clade or taxon specific boxes, which will only recognise "chimpanzee" (although in this case the term does appear in the autofilled list).

@hlapp hlapp added the bug label Jan 8, 2015
@jimallman
Copy link
Collaborator

In cases like these, we want to match from controlled vocabularies. If a name doesn't appear in the autocomplete field, it doesn't exist (in the FCDB, at least) as a discrete term that we can match. The field on the home page is the most inclusive, drawing from all names in table AC_names_searchable, which is defined as follows in the database:

Add tables for responsive "auto-complete" widgets in client UI:
    AC_names_nodes -- NCBI taxa (and other sources) and FDC-contributed nodes?
    AC_names_taxa  -- just NCBI nodes (and other sources)?
    AC_names_extant_species -- filtered view of AC_names_nodes (or AC_names_taxa), only leaf nodes?
    AC_names_clades -- filtered view of AC_names_taxa, all but leaf nodes?
    AC_names_searchable  -- all above, plus names of authors, publications, journals, collections, fossils

As Rachel found, the common names "lizard" and "chimp" aren't included in either NCBI's taxonomy or among FCD's node names. One way to add these would be using a supplementary table (possibly the existing FCD_names) and keying them to NCBI taxa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants