1. Docs
  2. Cloaked Search
  3. Usage
  4. Configuration
  5. Index Phrases
  1. Docs
  2. Cloaked Search
  3. Usage
  4. Configuration
  5. Index Phrases

Index Phrases - Added in 2.1.0

The index_phrases parameter enables the indexing of two-term word combinations (shingles) to allow for phrase searches. It defaults to false.

JSON
{ "mappings": { "properties": { "body": { "type": "text", "index_phrases": true } } } }

Was this page helpful?

One sec... bot checking