conf-mappings.asciidoc 756 B

12345678910111213141516171819
  1. [[mapping-conf-mappings]]
  2. == Config Mappings
  3. Creating new mappings can be done using the
  4. <<indices-put-mapping,Put Mapping>>
  5. API. When a document is indexed with no mapping associated with it in
  6. the specific index, the
  7. <<mapping-dynamic-mapping,dynamic / default
  8. mapping>> feature will kick in and automatically create mapping
  9. definition for it.
  10. Mappings can also be provided on the node level, meaning that each index
  11. created will automatically be started with all the mappings defined
  12. within a certain location.
  13. Mappings can be defined within files called `[mapping_name].json` and be
  14. placed either under `config/mappings/_default` location, or under
  15. `config/mappings/[index_name]` (for mappings that should be associated
  16. only with a specific index).