Class AbstractCommonResultsBuilder<T>
- java.lang.Object
-
- com.lucidworks.search.dsl.request.AbstractCommonResultsBuilder<T>
-
- Direct Known Subclasses:
ResultsAbstractBuilder
public abstract class AbstractCommonResultsBuilder<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractCommonResultsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TwithField(java.lang.String field)TwithFields(java.util.List<java.lang.String> fields)TwithSize(java.lang.Long size)TwithSort(SortElement sort)TwithSort(SortElement.Type type, java.lang.String value, SortElement.Order order, Query query)TwithSort(java.util.List<SortElement> sorts)TwithSortAsc(java.lang.String value)TwithSortByQuery(Query query, SortElement.Order order)QueryBuilder<T>withSortByQueryAsc()TwithSortByQueryAsc(Query query)QueryBuilder<T>withSortByQueryDesc()TwithSortByQueryDesc(Query query)TwithSortByRelevancy()TwithSortDesc(java.lang.String value)TwithSortExpressionAsc(java.lang.String expression)TwithSortExpressionDesc(java.lang.String expression)TwithStart(java.lang.Long start)
-
-
-
Method Detail
-
withStart
public T withStart(java.lang.Long start)
-
withSize
public T withSize(java.lang.Long size)
-
withField
public T withField(java.lang.String field)
-
withFields
public T withFields(java.util.List<java.lang.String> fields)
-
withSort
public T withSort(SortElement sort)
-
withSort
public T withSort(java.util.List<SortElement> sorts)
-
withSortByRelevancy
public T withSortByRelevancy()
-
withSortAsc
public T withSortAsc(java.lang.String value)
-
withSortDesc
public T withSortDesc(java.lang.String value)
-
withSortExpressionAsc
public T withSortExpressionAsc(java.lang.String expression)
-
withSortExpressionDesc
public T withSortExpressionDesc(java.lang.String expression)
-
withSortByQueryDesc
public QueryBuilder<T> withSortByQueryDesc()
-
withSortByQueryDesc
public T withSortByQueryDesc(Query query)
-
withSortByQueryAsc
public QueryBuilder<T> withSortByQueryAsc()
-
withSortByQueryAsc
public T withSortByQueryAsc(Query query)
-
withSortByQuery
public T withSortByQuery(Query query, SortElement.Order order)
-
withSort
public T withSort(SortElement.Type type, java.lang.String value, SortElement.Order order, Query query)
-
-