Interface SortDistanceFieldContext
Deprecated.
A context from which one must define the reference coordinates to
which the distance will be computed when sorting.
- Author:
- Emmanuel Bernard emmanuel@hibernate.org, Yoann Rodiere
-
Method Summary
Modifier and TypeMethodDescriptionfromCoordinates(Coordinates coordinates) Deprecated.Sort by the distance to the givenCoordinates.fromLatitude(double latitude) Deprecated.Sort by the distance to the given latitude andsubsequently-defined longitude.
-
Method Details
-
fromCoordinates
Deprecated.Sort by the distance to the givenCoordinates.- Parameters:
coordinates- The reference coordinates to which the distance will be computed for each document.- Returns:
thisfor method chaining
-
fromLatitude
Deprecated.Sort by the distance to the given latitude andsubsequently-defined longitude.- Parameters:
latitude- The reference latitude, part of the coordinates to which the distance will be computed for each document.- Returns:
thisfor method chaining
-
SortContext.