You are looking at documentation for an older release. Not what you want? See the current release documentation.
Use a Painless script to specify the minimum number of terms that a specified field needs to match with for a document to be part of the query results.
- User-defined parameters passed in as part of the query.
- The number of terms specified to match with.
- Contains the fields of the current document where each field is a
- The minimum number of terms required to match the current document.
The standard Painless API is available.