Index Template和Dynamic Template

What is the Index Template

Index Template - helps you to set Mappings and Settings, and according to certain rules, to automatically match the index on the newly created
template is only a new index when it is created, will have an effect. Modify the template will not affect the index created yourself
can set multiple templates, these settings are "merge" together
to specify the value of "order" control "mergine" process

Index Template works

When a newly created index is
applied Elasticsearch default settings and mappings
set low order values Index Template applications in
the application of high order Index Template is set, the previous settings will be overwritten
when the application creates the index, users settings specified and Mappings, and cover before setting the template

Guess you like

Origin www.cnblogs.com/anyux/p/11960697.html