Skip to content

Throw error when all_fields mode queries over a certain number of fields #25105

@dakrone

Description

@dakrone

The automatic expansion of fields to query on for the query_string and simple_query_string queries has been found to have some performance issues for users with a large numbers of fields. See: elastic/kibana#12097

Should we limit the number of fields the auto-expansion is limited to, throwing an error if a query searches more than that many fields? If so, what should the limit be? @jimczi mentioned 100 fields in the original issue as perhaps a good starting point.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions