Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
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.boost(float boost)
Sets the boost for this query.
|
BoolQueryBuilder |
BoolQueryBuilder.disableCoord(boolean disableCoord)
Disables Similarity#coord(int,int) in scoring.
|
BoolQueryBuilder |
BoolQueryBuilder.minimumNumberShouldMatch(int minimumNumberShouldMatch)
Specifies a minimum number of the optional (should) boolean clauses which must be satisfied.
|
BoolQueryBuilder |
BoolQueryBuilder.minimumShouldMatch(String minimumShouldMatch)
Sets the minimum should match using the special syntax (for example, supporting percentage).
|
BoolQueryBuilder |
BoolQueryBuilder.must(QueryBuilder queryBuilder)
Adds a query that must appear in the matching documents.
|
BoolQueryBuilder |
BoolQueryBuilder.mustNot(QueryBuilder queryBuilder)
Adds a query that must not appear in the matching documents.
|
BoolQueryBuilder |
BoolQueryBuilder.queryName(String queryName)
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
BoolQueryBuilder |
BoolQueryBuilder.should(QueryBuilder queryBuilder)
Adds a query that should appear in the matching documents.
|
Copyright © 2009–2015. All rights reserved.