Skip to content

Commit

Permalink
[Docs] Clarify multi match query field limit (#34801)
Browse files Browse the repository at this point in the history
We limit the number of fields that a query can be expanded to to 1024 starting
with 7.0. However, we don't enforce this in earlier versions already. This change 
clarifies that while leaving a note that the limit is going to be in effect in future 
versions and that a large number of fields can cause problems.
  • Loading branch information
Christoph Büscher committed Oct 25, 2018
1 parent 5d0699b commit 0240cac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/query-dsl/multi-match-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ index settings, which in turn defaults to `*`. `*` extracts all fields in the ma
are eligible to term queries and filters the metadata fields. All extracted fields are then
combined to build a query.

WARNING: There is a limit of no more than 1024 fields being queried at once.
WARNING: If you have a huge number of fields, the above auto expansion might lead to
querying a large number of felds which might cause performance issues. In future versions
(stating in 7.0) there will be a limit of no more than 1024 fields that can be queried at once.

[[multi-match-types]]
[float]
Expand Down

0 comments on commit 0240cac

Please sign in to comment.