IMPORTANT: No additional bug fixes or documentation updates will be released for this version. For the latest information, see the current release documentation.
Use a Painless script in a function score to apply a new score to documents returned from a query.
- User-defined parameters passed in as part of the query.
Contains the fields of the current document where each field is a
- The similarity score of the current document.
- The score for the current document.
The standard Painless API is available.