Skip to content

Commit a88f878

Browse files
authored
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.
1 parent 20e1b5e commit a88f878

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/mapping/types/text.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The following parameters are accepted by `text` fields:
9999
`index_phrases`::
100100

101101
If enabled, two-term word combinations ('shingles') are indexed into a separate
102-
field. This allows exact phrase queries to run more efficiently, at the expense
102+
field. This allows exact phrase queries (no slop) to run more efficiently, at the expense
103103
of a larger index. Note that this works best when stopwords are not removed,
104104
as phrases containing stopwords will not use the subsidiary field and will fall
105105
back to a standard phrase query. Accepts `true` or `false` (default).
@@ -171,4 +171,4 @@ PUT my_index
171171
--------------------------------
172172
// CONSOLE
173173
<1> `min_chars` must be greater than zero, defaults to 2
174-
<2> `max_chars` must be greater than or equal to `min_chars` and less than 20, defaults to 5
174+
<2> `max_chars` must be greater than or equal to `min_chars` and less than 20, defaults to 5

0 commit comments

Comments
 (0)