Skip to content

Commit c486565

Browse files
committed
Fix an inaccuracy in the dynamic templates documentation.
1 parent 93ada98 commit c486565

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/mapping/dynamic/templates.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Dynamic templates are specified as an array of named objects:
3838
<3> The mapping that the matched field should use.
3939

4040

41-
Templates are processed in order -- the first matching template wins. New
42-
templates can be appended to the end of the list with the
43-
<<indices-put-mapping,PUT mapping>> API. If a new template has the same
44-
name as an existing template, it will replace the old version.
41+
Templates are processed in order -- the first matching template wins. When
42+
putting new dynamic templates through the <<indices-put-mapping, put mapping>> API,
43+
all existing templates are overwritten. This allows for dynamic templates to be
44+
reordered or deleted after they were initially added.
4545

4646
[[match-mapping-type]]
4747
==== `match_mapping_type`

0 commit comments

Comments
 (0)