elasticsearch/docs/reference/mapping/params/index-phrases.asciidoc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
435 B
Plaintext
Raw Normal View History

[[index-phrases]]
=== `index_phrases`
If enabled, two-term word combinations ('shingles') are indexed into a separate
2021-03-31 21:57:47 +08:00
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
2021-03-31 21:57:47 +08:00
back to a standard phrase query. Accepts `true` or `false` (default).