Skip to content

Add circuit breaker to QueryStringQueryParser #51403

Open
@romseygeek

Description

@romseygeek

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions