From 0240cac5ce62c320a7ec217499715ac4b5abfa25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Thu, 25 Oct 2018 16:09:19 +0200 Subject: [PATCH] [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. --- docs/reference/query-dsl/multi-match-query.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/query-dsl/multi-match-query.asciidoc b/docs/reference/query-dsl/multi-match-query.asciidoc index f4b097a1b8361..f035bc7a4e629 100644 --- a/docs/reference/query-dsl/multi-match-query.asciidoc +++ b/docs/reference/query-dsl/multi-match-query.asciidoc @@ -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]