Interface DistanceSortOptionsStep<SR,S extends DistanceSortOptionsStep<SR,?,PDF>,PDF extends TypedSearchPredicateFactory<SR>>
- Type Parameters:
SR- Scope root type.S- The "self" type (the actual exposed type of this step).PDF- The type of factory used to create predicates inSortFilterStep.filter(Function).
- All Superinterfaces:
SortFilterStep<SR,,S, PDF> SortFinalStep,SortModeStep<S>,SortOrderStep<S>,SortThenStep<SR>
public interface DistanceSortOptionsStep<SR,S extends DistanceSortOptionsStep<SR,?,PDF>,PDF extends TypedSearchPredicateFactory<SR>>
extends SortFinalStep, SortThenStep<SR>, SortOrderStep<S>, SortModeStep<S>, SortFilterStep<SR,S,PDF>
The initial and final step in a "distance" sort definition, where optional parameters can be set.
-
Method Summary
Modifier and TypeMethodDescriptionmissing()Start describing the behavior of this sort when a document doesn't have any value for the targeted field.Methods inherited from interface org.hibernate.search.engine.search.sort.dsl.SortFilterStep
filter, filter, filterMethods inherited from interface org.hibernate.search.engine.search.sort.dsl.SortFinalStep
toSortMethods inherited from interface org.hibernate.search.engine.search.sort.dsl.SortModeStep
modeMethods inherited from interface org.hibernate.search.engine.search.sort.dsl.SortOrderStep
asc, desc, orderMethods inherited from interface org.hibernate.search.engine.search.sort.dsl.SortThenStep
then
-
Method Details
-
missing
DistanceSortMissingValueBehaviorStep<S> missing()Start describing the behavior of this sort when a document doesn't have any value for the targeted field.- Returns:
- The next step.
-