MCPcopy
hub / github.com/olivere/elastic / BoolQuery

Struct BoolQuery

search_queries_bool.go:13–23  ·  view source on GitHub ↗

A bool query matches documents matching boolean combinations of other queries. For more details, see: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-bool-query.html

Source from the content-addressed store, hash-verified

11// For more details, see:
12// https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-bool-query.html
13type BoolQuery struct {
14 Query
15 mustClauses []Query
16 mustNotClauses []Query
17 filterClauses []Query
18 shouldClauses []Query
19 boost *float64
20 minimumShouldMatch string
21 adjustPureNegative *bool
22 queryName string
23}
24
25// Creates a new bool query.
26func NewBoolQuery() *BoolQuery {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected