mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 18:03:32 -04:00
* Grammatical correction * Add note for legacy string mapping type * Update truncate token filter to not mention the keyword tokenizer The advice predates the existence of the keyword field Closes #22650
7 lines
369 B
Text
7 lines
369 B
Text
[[mapping-index]]
|
|
=== `index`
|
|
|
|
The `index` option controls whether field values are indexed. It accepts `true`
|
|
or `false`. Fields that are not indexed are not queryable.
|
|
|
|
NOTE: For the legacy mapping type <<string,`string`>> the `index` option only accepts legacy values `analyzed` (default, treat as full-text field), `not_analyzed` (treat as keyword field) and `no`.
|