public abstract class CompoundQueryAbstractBuilder<T extends CompoundQueryAbstractBuilder<T>> extends Object
Constructor and Description |
---|
CompoundQueryAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
MinimumMatchBuilder.Nested<T> |
withMinimumMatch() |
T |
withMinimumMatch(List<MinimumMatch> minMatches) |
T |
withMinimumMatch(MinimumMatch minMatch) |
T |
withMinimumNumberShouldMatch(String minimumNumberShouldMatch)
Deprecated.
|
QueryBuilder<T> |
withMust() |
T |
withMust(List<Query> queries) |
T |
withMust(Query query) |
QueryBuilder<T> |
withMustNot() |
T |
withMustNot(List<Query> queries) |
T |
withMustNot(Query query) |
T |
withQuery(CompoundQuery.Operator clauseOperator,
Query query) |
QueryBuilder<T> |
withShould() |
T |
withShould(List<Query> queries) |
T |
withShould(Query query) |
@Deprecated public T withMinimumNumberShouldMatch(String minimumNumberShouldMatch)
public QueryBuilder<T> withMust()
public QueryBuilder<T> withShould()
public T withQuery(CompoundQuery.Operator clauseOperator, Query query)
public QueryBuilder<T> withMustNot()
public T withMinimumMatch(MinimumMatch minMatch)
public T withMinimumMatch(List<MinimumMatch> minMatches)
public MinimumMatchBuilder.Nested<T> withMinimumMatch()