You are looking at documentation for an older release. Not what you want? See the current release documentation.
- User-defined parameters passed in as part of the query.
Mapwith values available from the prior map script.
String, or primitive
- A value collected for use in a reduce script. If no reduce script is specified, the value is used as part of the result.
The standard Painless API is available.