elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.74k stars 24.68k forks source link

Add circuit breaker to QueryStringQueryParser #51403

Open romseygeek opened 4 years ago

romseygeek commented 4 years ago

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.

elasticmachine commented 4 years ago

Pinging @elastic/es-core-infra (:Core/Infra/Circuit Breakers)

elasticmachine commented 4 years ago

Pinging @elastic/es-search (:Search/Search)

elasticsearchmachine commented 1 year ago

Pinging @elastic/es-search (Team:Search)

elasticsearchmachine commented 2 months ago

Pinging @elastic/es-search-relevance (Team:Search Relevance)