Skip to content

Commit 63d868d

Browse files
Update terms.md re #17714 (#9677)
* Update terms.md re #17714 Signed-off-by: Mikhail Khludnev <[email protected]> * rewording Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Mikhail Khludnev <[email protected]> --------- Signed-off-by: Mikhail Khludnev <[email protected]> Co-authored-by: kolchfa-aws <[email protected]>
1 parent d657694 commit 63d868d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_query-dsl/term/terms.md

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ A document is returned if it matches any of the terms in the array.
2828

2929
By default, the maximum number of terms allowed in a `terms` query is 65,536. To change the maximum number of terms, update the `index.max_terms_count` setting.
3030

31+
For better query performance, pass long arrays containing terms in sorted order (ordered by UTF-8 byte values, ascending).
32+
{: .tip}
33+
34+
3135
The ability to [highlight results]({{site.url}}{{site.baseurl}}/search-plugins/searching-data/highlight/) for terms queries may not be guaranteed, depending on the highlighter type and the number of terms in the query.
3236
{: .note}
3337

0 commit comments

Comments
 (0)