Class ResultsBuilder
- java.lang.Object
-
- com.lucidworks.search.dsl.request.AbstractCommonResultsBuilder<T>
-
- com.lucidworks.search.dsl.request.ResultsAbstractBuilder<ResultsBuilder>
-
- com.lucidworks.search.dsl.request.ResultsBuilder
-
public class ResultsBuilder extends ResultsAbstractBuilder<ResultsBuilder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResultsBuilder.Nested<R>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Results
build()
static ResultsBuilder
builder()
static <S> ResultsBuilder.Nested<S>
builder(java.util.function.Consumer<Results> callback, S parent)
T
withSort(SortElement sort)
T
withSort(SortElement.Type type, java.lang.String value, SortElement.Order order, Query query)
T
withSort(java.util.List<SortElement> sorts)
T
withSortAsc(java.lang.String value)
T
withSortByQuery(Query query, SortElement.Order order)
QueryBuilder<T>
withSortByQueryAsc()
T
withSortByQueryAsc(Query query)
QueryBuilder<T>
withSortByQueryDesc()
T
withSortByQueryDesc(Query query)
T
withSortByRelevancy()
T
withSortDesc(java.lang.String value)
T
withSortExpressionAsc(java.lang.String expression)
T
withSortExpressionDesc(java.lang.String expression)
-
Methods inherited from class com.lucidworks.search.dsl.request.ResultsAbstractBuilder
withCursor, withGroup, withGroup, withHighlight, withHighlight, withIncludeRawResponse, withReturnScore, withSpellcheck
-
Methods inherited from class com.lucidworks.search.dsl.request.AbstractCommonResultsBuilder
withField, withFields, withSize, withStart
-
-
-
-
Method Detail
-
builder
public static ResultsBuilder builder()
-
build
public Results build()
-
builder
public static <S> ResultsBuilder.Nested<S> builder(java.util.function.Consumer<Results> callback, S parent)
-
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)
-
-