public interface SortDistanceFieldContext
| Modifier and Type | Method and Description |
|---|---|
SortDistanceFieldAndReferenceContext |
fromCoordinates(Coordinates coordinates)
Sort by the distance to the given
Coordinates. |
SortLatLongContext |
fromLatitude(double latitude)
Sort by the distance to the given latitude
and
subsequently-defined longitude. |
SortDistanceFieldAndReferenceContext fromCoordinates(Coordinates coordinates)
Coordinates.coordinates - The reference coordinates to which the distance
will be computed for each document.SortLatLongContext fromLatitude(double latitude)
subsequently-defined longitude.latitude - The reference latitude, part of the coordinates
to which the distance will be computed for each document.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.