You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NIAID guidespecies controlled vocab: Typing "Homo" in the typeahead lookup correctly lists Homo sapiens somewhere in the list. Once you add a space, however, (e.g. "Homo s"), nothing is found.
I think this is a mapping issue; wildcard Elasticsearch queries break on spaces for keywords. I think you need to switch the ES mapping to an ngram tokenizer to be able to do partial searches with spaces. @juliamullen is implementing this behavior for outbreak's typeahead lookup if you need help setting it up.
The text was updated successfully, but these errors were encountered:
In NIAID guide
species
controlled vocab: Typing"Homo"
in the typeahead lookup correctly listsHomo sapiens
somewhere in the list. Once you add a space, however, (e.g."Homo s"
), nothing is found.I think this is a mapping issue; wildcard Elasticsearch queries break on spaces for keywords. I think you need to switch the ES mapping to an ngram tokenizer to be able to do partial searches with spaces. @juliamullen is implementing this behavior for outbreak's typeahead lookup if you need help setting it up.
The text was updated successfully, but these errors were encountered: