Inline scripting
The language the script is written in, which defaults to painless. The script itself which may be specified as source for an inline script or id for a stored script. Any named parameters that should be passed into the script. For example, the following script is used in a search request to return a