Module elasticsearch_dsl::search::queries::compound[][src]

Expand description

Compound queries wrap other compound or leaf queries, either to combine their results and scores, to change their behavior, or to switch from query to filter context.

Structs

A query that matches documents matching boolean combinations of other queries. The bool query maps to Lucene BooleanQuery. It is built using one or more boolean clauses, each clause with a typed occurrence.

Returns documents matching a positive query while reducing the relevance score of documents that also match a negative query.

Wraps a filter query and returns every matching document with a relevance score equal to the boost parameter value.

Returns documents matching one or more wrapped queries, called query clauses or clauses.

The function_score allows you to modify the score of documents that are retrieved by a query.