anchor.diff:  {
       "query": {
           "template": {
  -            "query": "storedTemplate", <1>
  +            "file": "my_template", <1>
               "params" : {
  -                "template" : "all"
  +                "query_string" : "all about search"
               }
           }
       }
   }
  +------------------------------------------
  +<1> Name of the the query template in `config/scripts/`, i.e., `my_template.mustache`.
   
  +Alternatively, you can register a query template in the special `.scripts` index with:
  +
  +[source,js]
   ------------------------------------------
  -<1> Name of the the query template in `config/scripts/`, i.e., `storedTemplate.mustache`.
  +PUT /_search/template/my_template
  +{
  +    "template": { "match": { "text": "{query_string}" }}},
  +}
  +------------------------------------------
   
  -Templating is based on Mustache. For simple token substitution all you provide
  -is a query containing some variable that you want to substitute and the actual
  -values:
  +and refer to it in the `template` query with the `id` parameter:
   
   
   [source,js]
  
positive.code: 
  ------------------------------------------
  
  
  Alternatively passing the template as an escaped string works as well:
  
  
negative.code: {
      "query": {
          "template": {
              "query": { "match": { "text": "{query_string}" }}},
              "params" : {
                  "query_string" : "all about search"
              }
          }
      }
  