[Docs] Add migration note about expanded fields limit (#34920)

Adds a note to warn users about the limit introduced in #26541.
This commit is contained in:
Christoph Büscher 2018-10-29 10:23:07 +01:00 committed by GitHub
parent c455be7bc2
commit 389910f11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -106,6 +106,14 @@ To safeguard against this, the maximum length of regex that can be used in a
Regexp Query request has been limited to 1000. This default maximum can be changed
for a particular index with the index setting `index.max_regex_length`.
[float]
==== Limiting the number of auto-expanded fields
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*").
[float]
==== Invalid `_search` request body