Document that highlighting `terms` queries is best-effort. (#28371)

The `terms` query is really designed for filtering and highlighting it might
cause performance issues if it wraps many terms, so I am documenting
highlighting these queries as a best-effort only.

Closes #28099
This commit is contained in:
Adrien Grand 2018-01-31 15:03:08 +01:00 committed by GitHub
parent eea9ee57dd
commit f7c4740a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ GET /_search
-------------------------------------------------- --------------------------------------------------
// CONSOLE // CONSOLE
NOTE: Highlighting `terms` queries is best-effort only, so terms of a `terms`
query might not be highlighted depending on the highlighter implementation that
is selected and on the number of terms in the `terms` query.
[float] [float]
[[query-dsl-terms-lookup]] [[query-dsl-terms-lookup]]
===== Terms lookup mechanism ===== Terms lookup mechanism