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
| 11 | // For more details, see: |
| 12 | // https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-bool-query.html |
| 13 | type 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. |
| 26 | func NewBoolQuery() *BoolQuery { |
nothing calls this directly
no outgoing calls
no test coverage detected