anchor.diff:      "source": "Math.log(_score * 2) + params['my_modifier']"
     }
   }
  ------------------------------------
  -// TEST[setup:my_index]
  -
  -You can retrieve that script by using the `_scripts` endpoint:
  -
  -[source,console]
  ------------------------------------
  +----
  +
  +You can retrieve that script by using the <<get-stored-script-api,get stored
  +script API>>.
  +
  +[source,console]
  +----
   GET _scripts/calculate-score
  ------------------------------------
  +----
   // TEST[continued]
   
   To use the stored script in a query, include the script `id` in the `script`
  
positive.code:   }
  }
  ----
  // TEST[continued]
  <1> `id` of the stored script
  
  To delete a stored script, submit a delete request to the `_scripts` endpoint
  and specify the stored script `id`:
  
  [source,console]
  ----
  
negative.code: 
  `source`, `id`::
  
      The script itself, which you specify as `source` for an inline script or
      `id` for a stored script. Use the <<stored-script-apis,stored script APIs>>
      to create and manage stored scripts.
  
  `params`::
  
  