Docs: correct three mis-match of brackets

Closes #10806
This commit is contained in:
navins 2015-04-26 00:14:57 +08:00 committed by Clinton Gormley
parent 9e81e4c09b
commit 84636557e1
1 changed files with 3 additions and 3 deletions

View File

@ -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}}" }},
}
------------------------------------------