mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
parent
51d9574916
commit
18c5ea8599
@ -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]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user