IBoolQuery
The clause (query) which is to be used as a filter (in filter context).
Specifies a minimum number of the optional BooleanClauses which must be satisfied.
The clause(s) that must appear in matching documents
The clause (query) must not appear in the matching documents.
Note that it is not possible to search on documents that only consists of a must_not clauses.
The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document.
The minimum number of should clauses to match can be set using MinimumShouldMatch.