WARNING: Version 2.0 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
This group contains queries which do not fit into the other groups:
- This query finds documents which are similar to the specified text, document, or collection of documents.
templatequery accepts a Mustache template (either inline, indexed, or from a file), and a map of parameters, and combines the two to generate the final query to execute.
This query allows a script to act as a filter. Also see the