From 84636557e14327448a80d70eb11662265d1e4eeb Mon Sep 17 00:00:00 2001 From: navins Date: Sun, 26 Apr 2015 00:14:57 +0800 Subject: [PATCH] Docs: correct three mis-match of brackets Closes #10806 --- docs/reference/query-dsl/queries/template-query.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/query-dsl/queries/template-query.asciidoc b/docs/reference/query-dsl/queries/template-query.asciidoc index 1b22b90066e..0eb43b3642c 100644 --- a/docs/reference/query-dsl/queries/template-query.asciidoc +++ b/docs/reference/query-dsl/queries/template-query.asciidoc @@ -12,7 +12,7 @@ GET /_search { "query": { "template": { - "query": { "match": { "text": "{{query_string}}" }}}, + "query": { "match": { "text": "{{query_string}}" }}, "params" : { "query_string" : "all about search" } @@ -45,7 +45,7 @@ GET /_search { "query": { "template": { - "query": "{ \"match\": { \"text\": \"{{query_string}}\" }}}", <1> + "query": "{ \"match\": { \"text\": \"{{query_string}}\" }}", <1> "params" : { "query_string" : "all about search" } @@ -85,7 +85,7 @@ Alternatively, you can register a query template in the special `.scripts` index ------------------------------------------ PUT /_search/template/my_template { - "template": { "match": { "text": "{{query_string}}" }}}, + "template": { "match": { "text": "{{query_string}}" }}, } ------------------------------------------