WARNING: Version 5.4 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.
Specialized queries
editSpecialized queries
editThis group contains queries which do not fit into the other groups:
-
more_like_this
query - This query finds documents which are similar to the specified text, document, or collection of documents.
-
template
query -
The
template
query 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. -
script
query -
This query allows a script to act as a filter. Also see the
function_score
query. -
percolate
query - This query finds queries that are stored as documents that match with the specified document.