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-2017 Red Hat, Inc. All Rights Reserved