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:
parent
eea9ee57dd
commit
f7c4740a76
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue