Documentation: comments in index templates (#20701)

Fixes #20513
This commit is contained in:
Lucas Bremgartner 2016-10-08 12:38:45 +02:00 committed by Clinton Gormley
parent 22f1acde94
commit 4bf45e53a5
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ PUT _template/template_1
// CONSOLE
// TESTSETUP
NOTE: Index templates provide C-style /* */ block comments. Comments are allowed
everywhere in the JSON document except before to the initial opening curly bracket.
Defines a template named template_1, with a template pattern of `te*`.
The settings and mappings will be applied to any index name that matches
the `te*` template.