index.asciidoc 369 B

1234567
  1. [[mapping-index]]
  2. === `index`
  3. The `index` option controls whether field values are indexed. It accepts `true`
  4. or `false`. Fields that are not indexed are not queryable.
  5. 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`.