public abstract class QueryDefinitionAbstractBuilder<T extends QueryDefinitionAbstractBuilder<T>> extends Object
Constructor and Description |
---|
QueryDefinitionAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
withBoostByQuery(BoostQuery boost) |
BoostByValueBuilder.Nested<T> |
withBoostByValue() |
T |
withBoostByValue(BoostByValue boost) |
T |
withBoostsByQuery(List<BoostQuery> boostsByQuery) |
T |
withBoostsByValues(List<BoostByValue> boosts) |
QueryBuilder<T> |
withFilter() |
T |
withFilter(Query filter) |
T |
withFilters(List<Query> filters) |
QueryBuilder<T> |
withGroupedFilter() |
T |
withGroupedFilter(Query groupedFilter) |
T |
withGroupedFilters(List<Query> groupedFilters) |
QueryBuilder<T> |
withGroupedQuery() |
T |
withGroupedQuery(Query groupedQuery) |
QueryBuilder<T> |
withMain() |
T |
withMain(Query main) |
T |
withNamedFilter(NamedFilter namedFilter) |
T |
withNamedFilters(List<NamedFilter> namedFilters) |
T |
withUserQuery(String userQuery) |
public QueryBuilder<T> withMain()
public QueryBuilder<T> withGroupedQuery()
public T withBoostsByValues(List<BoostByValue> boosts)
public T withBoostByValue(BoostByValue boost)
public BoostByValueBuilder.Nested<T> withBoostByValue()
public T withBoostsByQuery(List<BoostQuery> boostsByQuery)
public T withBoostByQuery(BoostQuery boost)
public T withNamedFilters(List<NamedFilter> namedFilters)
public T withNamedFilter(NamedFilter namedFilter)
public QueryBuilder<T> withFilter()
public QueryBuilder<T> withGroupedFilter()