Browse Source

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.
Pablo Musa 7 years ago
parent
commit
a88f8789a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/mapping/types/text.asciidoc

+ 2 - 2
docs/reference/mapping/types/text.asciidoc

@@ -99,7 +99,7 @@ The following parameters are accepted by `text` fields:
 `index_phrases`::
 
     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,
     as phrases containing stopwords will not use the subsidiary field and will fall
     back to a standard phrase query.  Accepts `true` or `false` (default).
@@ -171,4 +171,4 @@ PUT my_index
 --------------------------------
 // CONSOLE
 <1> `min_chars` must be greater than zero, defaults to 2
-<2> `max_chars` must be greater than or equal to `min_chars` and less than 20, defaults to 5
+<2> `max_chars` must be greater than or equal to `min_chars` and less than 20, defaults to 5