Specialized queries
This group contains queries which do not fit into the other groups:
distance_featurequery- A query that computes scores based on the dynamically computed distances between the origin and documents'
date,date_nanos, andgeo_pointfields. It is able to efficiently skip non-competitive hits. more_like_thisquery- This query finds documents which are similar to the specified text, document, or collection of documents.
percolatequery- This query finds queries that are stored as documents that match with the specified document.
rank_featurequery- A query that computes scores based on the values of numeric features and is able to efficiently skip non-competitive hits.
scriptquery- This query allows a script to act as a filter. Also see the
function_scorequery. script_scorequery- A query that allows to modify the score of a sub-query with a script.
wrapperquery- A query that accepts other queries as json or yaml string.
pinnedquery- A query that promotes selected documents over others matching a given query.
rulequery-
A query that supports applying query-based contextual rules, defined using the Query Rules API, to a given query.