IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Specialized queries
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Specialized queries
editThis group contains queries which do not fit into the other groups:
-
distance_feature
query - A query that computes scores based on the dynamically computed distances between the origin and documents' date, date_nanos and geo_point fields. It is able to efficiently skip non-competitive hits.
-
more_like_this
query - This query finds documents which are similar to the specified text, document, or collection of documents.
-
percolate
query - This query finds queries that are stored as documents that match with the specified document.
-
rank_feature
query - A query that computes scores based on the values of numeric features and is able to efficiently skip non-competitive hits.
-
script
query -
This query allows a script to act as a filter. Also see the
function_score
query. -
script_score
query - A query that allows to modify the score of a sub-query with a script.
-
wrapper
query - A query that accepts other queries as json or yaml string.
-
pinned
query - A query that promotes selected documents over others matching a given query.
Was this helpful?
Thank you for your feedback.