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

Universal search does not get an exact match for a place display_name #296

Open
kueda opened this issue Feb 3, 2022 · 0 comments
Open
Labels

Comments

@kueda
Copy link
Member

kueda commented Feb 3, 2022

E.g. https://api.inaturalist.org/v1/search?q=Washington+County%2C+US%2C+OK returns no results even though the display_name of https://www.inaturalist.org/places/washington-county-ok-us is Washington County, US, OK.

https://github.com/inaturalist/iNaturalistAPI/blob/main/lib/controllers/v1/search_controller.js#L69 suggests we are matching against all fields ending in _autocomplete, and the places index has a display_name_autocomplete field, so why isn't this working?

@kueda kueda added the bugs label Feb 3, 2022
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

1 participant