Skip to content

Conversation

@ppf2
Copy link
Contributor

@ppf2 ppf2 commented Aug 13, 2020

Limiting the number of auto-expanded fieldsedit
Executing queries that use automatic expansion of fields (e.g. query_string, simple_query_string or multi_match) can have performance issues for indices with a large numbers of fields. To safeguard against this, a hard limit of 1024 fields has been introduced for queries using the "all fields" mode ("default_field": "") or other fieldname expansions (e.g. "foo").

Per #35284, we changed this from a hard limit to a soft limit by leveraging indices.query.bool.max_clause_count in 7.0 beta1. It looks like we might have missed the doc change in the breaking changes guide. We will want to backport this to all 7.x versions.

>Limiting the number of auto-expanded fieldsedit
Executing queries that use automatic expansion of fields (e.g. query_string, simple_query_string or multi_match) can have performance issues for indices with a large numbers of fields. To safeguard against this, a hard limit of 1024 fields has been introduced for queries using the "all fields" mode ("default_field": "") or other fieldname expansions (e.g. "foo").

Per #35284, it looks like we changed this from a hard limit to a soft limit by leveraging `indices.query.bool.max_clause_count` in 7.0 beta1.  We will want to backport this to all 7.x versions.
@ppf2 ppf2 added the >docs General docs changes label Aug 13, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Aug 13, 2020
@ppf2 ppf2 changed the title Max field expansions is not a hard limit Doc: Max field expansions is not a hard limit Aug 13, 2020
@jrodewig jrodewig self-requested a review August 18, 2020 12:49
Copy link
Contributor

@jrodewig jrodewig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Incorporated some minor wording changes.

@jrodewig jrodewig merged commit d6ad247 into 7.x Aug 18, 2020
@jrodewig jrodewig deleted the ppf2-max-field-expansions branch August 18, 2020 15:39
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
jrodewig pushed a commit that referenced this pull request Aug 18, 2020
Per #35284, it looks like we changed this from a max field expansions limit to a soft limit using the `indices.query.bool.max_clause_count` dynamic cluster settting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants