index-field.asciidoc 370 B

123456789101112131415
  1. [[mapping-index-field]]
  2. === `_index`
  3. The ability to store in a document the index it belongs to. By default
  4. it is disabled, in order to enable it, the following mapping should be
  5. defined:
  6. [source,js]
  7. --------------------------------------------------
  8. {
  9. "tweet" : {
  10. "_index" : { "enabled" : true }
  11. }
  12. }
  13. --------------------------------------------------