[DOCS][FIX] Fix reference check in indexed scripts/templates doc.

This commit is contained in:
Brian Murphy 2014-07-16 11:23:22 +01:00
parent bc570919ee
commit d6cd2c2b73
1 changed files with 2 additions and 3 deletions

View File

@ -280,12 +280,11 @@ To use an indexed template at search time use:
GET /_search/template GET /_search/template
{ {
"template": { "template": {
"id": "templateName" <2>, "id": "templateName" <1>,
}, },
"params": { "params": {
"query_string": "search for these words" "query_string": "search for these words"
} }
} }
------------------------------------------ ------------------------------------------
<1> Name of the the query template stored in the .scripts index.
<2> Name of the the query template stored in the .scripts index.