Browse Source

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

Brian Murphy 11 years ago
parent
commit
d6cd2c2b73
1 changed files with 2 additions and 3 deletions
  1. 2 3
      docs/reference/search/search-template.asciidoc

+ 2 - 3
docs/reference/search/search-template.asciidoc

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