public interface SortLatLongContext
Modifier and Type | Method and Description |
---|---|
SortDistanceFieldAndReferenceContext |
andLongitude(double longitude)
Sort by the distance to the given longitude
and
formerly-defined latitude . |
SortDistanceFieldAndReferenceContext andLongitude(double longitude)
formerly-defined latitude
.longitude
- The reference longitude, 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.