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

ES exception for single char queries? #1331

Open
mdoering opened this issue Jun 11, 2024 · 1 comment
Open

ES exception for single char queries? #1331

mdoering opened this issue Jun 11, 2024 · 1 comment

Comments

@mdoering
Copy link
Member

Found some of these in the error logs:
http://api.checklistbank.org/dataset/3LR/nameusage/search?content=SCIENTIFIC_NAME&sortBy=NAME&fuzzy=true&type=prefix&limit=20&q=festuca%20a

If you change the query festuca%20a to either festuca%20 or festuca%20ab it works.

life.catalogue.es.EsException: [1:434] [bool] failed to parse field [filter]. Caused by: [1:434] [bool] failed to parse field [must]
at life.catalogue.es.EsUtil.executeRequest(EsUtil.java:373)
at life.catalogue.es.nu.NameUsageQueryService.executeSearchRequest(NameUsageQueryService.java:91)
at life.catalogue.es.nu.search.NameUsageSearchServiceEs.search(NameUsageSearchServiceEs.java:62)

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

No branches or pull requests

1 participant