From 9c3007496c7f8e6bb9cfaa9b6ef328bf91a38767 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Fri, 9 Sep 2016 13:06:32 +0200 Subject: [PATCH] Update search-template.asciidoc Fixed typo --- docs/reference/search/search-template.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/search/search-template.asciidoc b/docs/reference/search/search-template.asciidoc index 7ed6f2de8c8..e9222beabf5 100644 --- a/docs/reference/search/search-template.asciidoc +++ b/docs/reference/search/search-template.asciidoc @@ -56,7 +56,7 @@ GET /_search/template [float] ===== Converting parameters to JSON -The `{{toJson}}parameter{{/toJson}}` function can be used to convert parameters +The `{{#toJson}}parameter{{/toJson}}` function can be used to convert parameters like maps and array to their JSON representation: [source,js]