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
When a user enters a search query that is too generic or small, ES results window exceeds the set limits, causing an Internal Server Error.
Current behavior
User enters a small/generic search term (i.e. "the")
ES raises exception with
elasticsearch7.exceptions.RequestError: RequestError(400, 'search_phase_execution_exception', 'Result window is too large, from + size must be less than or equal to: [10000] but was [14728]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.')
Expected behavior
No search is performed when small/generic search terms OR gracefully handles too many results and returns such error.
When a user enters a search query that is too generic or small, ES results window exceeds the set limits, causing an Internal Server Error.
Current behavior
Expected behavior
Steps to replicate behavior
The text was updated successfully, but these errors were encountered: