Docs: Align prose with snippet (#34839)
Modified example text to include multiple index patterns used in the code
This commit is contained in:
parent
27c4d63340
commit
e27a0d5b0d
|
@ -46,9 +46,9 @@ PUT _template/template_1
|
||||||
NOTE: Index templates provide C-style /* */ block comments. Comments are allowed
|
NOTE: Index templates provide C-style /* */ block comments. Comments are allowed
|
||||||
everywhere in the JSON document except before the initial opening curly bracket.
|
everywhere in the JSON document except before the initial opening curly bracket.
|
||||||
|
|
||||||
Defines a template named `template_1`, with a template pattern of `te*`.
|
Defines a template named `template_1`, with a template pattern of `te*` or `bar*`.
|
||||||
The settings and mappings will be applied to any index name that matches
|
The settings and mappings will be applied to any index name that matches
|
||||||
the `te*` pattern.
|
the `te*` or `bar*` pattern.
|
||||||
|
|
||||||
It is also possible to include aliases in an index template as follows:
|
It is also possible to include aliases in an index template as follows:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue