[DOCS][FIX] Fix reference check in indexed scripts/templates doc.
This commit is contained in:
parent
bc570919ee
commit
d6cd2c2b73
|
@ -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.
|
|
Loading…
Reference in New Issue