mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
be8097f9ce
This commit moves the documentation and examples for the `index_prefixes` option on text fields to its own file, to bring it in line with other mapping parameters, and expands a bit on both.
8 lines
438 B
Plaintext
8 lines
438 B
Plaintext
[[index-phrases]]
|
|
=== `index_phrases`
|
|
|
|
If enabled, two-term word combinations ('shingles') are indexed into a separate
|
|
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). |