Fix typo in templates.asciidoc

The doc mentions match_path in one place but the correct syntax is path_match which is mentioned everywhere else. Using the wrong string leads to errors because the mapping becomes too greedy, and matches things it shouldn't.
This commit is contained in:
Ibrahim Awwal 2016-04-06 15:22:44 -07:00 committed by Lee Hinman
parent 0a69985153
commit 5121060e75

View File

@ -33,7 +33,7 @@ Dynamic templates are specified as an array of named objects:
]
--------------------------------------------------
<1> The template name can be any string value.
<2> The match conditions can include any of : `match_mapping_type`, `match`, `match_pattern`, `unmatch`, `match_path`, `unmatch_path`.
<2> The match conditions can include any of : `match_mapping_type`, `match`, `match_pattern`, `unmatch`, `path_match`, `path_unmatch`.
<3> The mapping that the matched field should use.