Browse Source

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

Adds a note to warn users about the limit introduced in #26541.
Christoph Büscher 7 years ago
parent
commit
389910f11d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/reference/migration/migrate_7_0/search.asciidoc

+ 8 - 0
docs/reference/migration/migrate_7_0/search.asciidoc

@@ -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