Skip to content

Commit 0240cac

Browse files
author
Christoph Büscher
committed
[Docs] Clarify multi match query field limit (#34801)
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.
1 parent 5d0699b commit 0240cac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/reference/query-dsl/multi-match-query.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ index settings, which in turn defaults to `*`. `*` extracts all fields in the ma
6363
are eligible to term queries and filters the metadata fields. All extracted fields are then
6464
combined to build a query.
6565

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

6870
[[multi-match-types]]
6971
[float]

0 commit comments

Comments
 (0)