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 to sort the documents in 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 specified document.
The standard Painless API is available.