Skip to main content

Module boolean

Module boolean 

Source
Expand description

BoolQuery: boolean combination of sub-queries.

  • must: conjunction (AND) — all clauses must match, scores summed
  • should: disjunction (OR) — any clause may match, scores summed
  • must_not: exclusion — matching docs are removed
  • filter: conjunction in filter context (AND, no scoring)

See [[query-dsl#Compound Queries]] and [[architecture-query-execution#Step 7]].

Structs§

BoolQuery
Boolean combination of sub-queries.