From 3b4e7087010b00aec1d8b7c875ab80b4c23d28cf Mon Sep 17 00:00:00 2001 From: Pius Date: Thu, 12 Oct 2017 10:11:30 -0700 Subject: [PATCH 1/2] Added clarification on interaction with create index api --- docs/reference/indices/templates.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/indices/templates.asciidoc b/docs/reference/indices/templates.asciidoc index 86f02f850066e..9e50bbb29996a 100644 --- a/docs/reference/indices/templates.asciidoc +++ b/docs/reference/indices/templates.asciidoc @@ -8,7 +8,9 @@ and a simple pattern template that controls whether the template 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. +will have no impact on existing indices. When using the create index api, the settings/mappings +defined as part of the create index call will take precedence over any matching settings/mappings +defined in the template. For example: From 781151d2d5ebd92184b2cb86a81b647e62679e9b Mon Sep 17 00:00:00 2001 From: Pius Date: Thu, 12 Oct 2017 14:39:42 -0700 Subject: [PATCH 2/2] Changing casing of api text --- docs/reference/indices/templates.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/indices/templates.asciidoc b/docs/reference/indices/templates.asciidoc index 9e50bbb29996a..348c3987c7300 100644 --- a/docs/reference/indices/templates.asciidoc +++ b/docs/reference/indices/templates.asciidoc @@ -8,7 +8,7 @@ and a simple pattern template that controls whether the template 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. When using the create index api, the settings/mappings +will have no impact on existing indices. When using the create index API, the settings/mappings defined as part of the create index call will take precedence over any matching settings/mappings defined in the template.