mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 00:15:47 +00:00
Highlight that index_phrases only works if no slop is used (#33303)
Highlight that `index_phrases` only works if no slop is used at query time.
This commit is contained in:
parent
20e1b5e2fe
commit
a88f8789a0
@ -99,7 +99,7 @@ The following parameters are accepted by `text` fields:
|
|||||||
`index_phrases`::
|
`index_phrases`::
|
||||||
|
|
||||||
If enabled, two-term word combinations ('shingles') are indexed into a separate
|
If enabled, two-term word combinations ('shingles') are indexed into a separate
|
||||||
field. This allows exact phrase queries to run more efficiently, at the expense
|
field. This allows exact phrase queries (no slop) to run more efficiently, at the expense
|
||||||
of a larger index. Note that this works best when stopwords are not removed,
|
of a larger index. Note that this works best when stopwords are not removed,
|
||||||
as phrases containing stopwords will not use the subsidiary field and will fall
|
as phrases containing stopwords will not use the subsidiary field and will fall
|
||||||
back to a standard phrase query. Accepts `true` or `false` (default).
|
back to a standard phrase query. Accepts `true` or `false` (default).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user