Update templates.asciidoc

Relates to #17375
This commit is contained in:
Clinton Gormley 2016-03-31 11:15:01 +02:00
parent 51d9574916
commit 18c5ea8599

View File

@ -2,9 +2,14 @@
== Index Templates == Index Templates
Index templates allow you to define templates that will automatically be Index templates allow you to define templates that will automatically be
applied to new indices created. The templates include both settings and applied when new indices are created. The templates include both settings and
mappings, and a simple pattern template that controls if the template mappings, and a simple pattern template that controls whether the template
will be applied to the index created. For example: should be applied to the new index.
NOTE: Templates are only applied at index creation time. Changing a template
will have no impact on existing indices.
For example:
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------