-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add circuit breaker to QueryStringQueryParser #51403
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
Labels
>enhancement
:Search Relevance/Search
Catch all for Search Relevance
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Circuit Breakers) |
Pinging @elastic/es-search (:Search/Search) |
Pinging @elastic/es-search (Team:Search) |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>enhancement
:Search Relevance/Search
Catch all for Search Relevance
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
The QueryStringQueryParser can produce extremely large queries that don't get caught quickly enough by our boolean query limit checks - for example, a string that contains large numbers of spaces and wildcards can produce lots of very heavy Wildcard or Prefix queries over multiple fields. We should add some query-construction time checks to ensure that these sort of heavy queries don't overwhelm a node before they've even had time to run.
The text was updated successfully, but these errors were encountered: