-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error when searching affiliations: too_many_nested_clauses #459
Error when searching affiliations: too_many_nested_clauses #459
Comments
This is happening because we are using wildcard search on the title subfields. Also, the recent changes increase the number of clauses. Currently, we have 126 languages in cds-rdm which means each new word in the search query increases the clauses because of the n-gram analyzer. Also, bit weird but I did some trial and error on what works and what doesn't:
Even this query gives an Internal Server Error, while other queries of similar length and words work fine. Something to investigate into further... |
TransportError(500, 'search_phase_execution_exception', 'too_many_nested_clauses: Query contains too many nested clauses; maxClauseCount is set to 1024')
Request: '/api/affiliations?size=20&suggest=The+Barcelona+Institute+of+Science+and+Technology'
Search params:
Partial query:
this Sentry excp
The text was updated successfully, but these errors were encountered: