anchor.diff:  <titleabbrev>Script</titleabbrev>
   ++++
   
  -A query allowing to define
  -<<modules-scripting,scripts>> as queries. They are typically used in a filter
  -context, for example:
  +Filters documents based on a provided <<modules-scripting-using,script>>. The
  +`script` query is typically used in a <<query-filter-context,filter context>>.
  +
  +
  +[[script-query-ex-request]]
  +==== Example request
   
   [source,js]
  -----------------------------------------------
  +----
   GET /_search
   {
       "query": {
  
positive.code:         }
      }
  }
  ----------------------------------------------
  // CONSOLE
  
  [float]
  ==== Custom Parameters
  
  Scripts are compiled and cached for faster execution. If the same script
  can be used, just with different parameters provider, it is preferable
  to use the ability to pass parameters to the script itself, for example:
  
  [source,js]
  ----------------------------------------------
  GET /_search
  {
      "query": {
  
negative.code:         }
      }
  }
  ----
  // CONSOLE