BoolQueryBuilder |
BoolQueryBuilder.adjustPureNegative(boolean adjustPureNegative) |
If a boolean query contains only negative ("must not") clauses should the
BooleanQuery be enhanced with a MatchAllDocsQuery in order to act
as a pure exclude.
|
static BoolQueryBuilder |
QueryBuilders.boolQuery() |
A Query that matches documents matching boolean combinations of other queries.
|
BoolQueryBuilder |
BoolQueryBuilder.filter(QueryBuilder queryBuilder) |
Adds a query that must appear in the matching documents but will
not contribute to scoring.
|
static BoolQueryBuilder |
BoolQueryBuilder.fromXContent(XContentParser parser) |
|
BoolQueryBuilder |
BoolQueryBuilder.minimumShouldMatch(int minimumShouldMatch) |
Specifies a minimum number of the optional (should) boolean clauses which must be satisfied.
|
BoolQueryBuilder |
BoolQueryBuilder.minimumShouldMatch(String minimumShouldMatch) |
Sets the minimum should match parameter using the special syntax (for example, supporting percentage).
|
BoolQueryBuilder |
BoolQueryBuilder.must(QueryBuilder queryBuilder) |
Adds a query that must appear in the matching documents and will
contribute to scoring.
|
BoolQueryBuilder |
BoolQueryBuilder.mustNot(QueryBuilder queryBuilder) |
Adds a query that must not appear in the matching documents.
|
BoolQueryBuilder |
BoolQueryBuilder.should(QueryBuilder queryBuilder) |
Adds a clause that should be matched by the returned documents.
|