Docs: Detail on false/strict dynamic mapping setting (#22451)

Reference: https://www.elastic.co/guide/en/elasticsearch/guide/master/dynamic-mapping.html
This commit is contained in:
Jason Veatch 2017-01-05 14:36:18 -05:00 committed by Nik Everett
parent 5daf46286e
commit 20f90178fe
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
By default, when a previously unseen field is found in a document,
Elasticsearch will add the new field to the type mapping. This behaviour can
be disabled, both at the document and at the <<object,`object`>> level, by
setting the <<dynamic,`dynamic`>> parameter to `false` or to `strict`.
setting the <<dynamic,`dynamic`>> parameter to `false` (to ignore new fields) or to `strict` (to throw
an exception if an unknown field is encountered).
Assuming `dynamic` field mapping is enabled, some simple rules are used to
determine which datatype the field should have: