public class GeoDistanceSortField extends SortField
| Constructor and Description |
|---|
GeoDistanceSortField(String mapper,
double longitude,
double latitude)
Creates a new
GeoDistanceSortField for the specified field and reverse option. |
all, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardpublic GeoDistanceSortField(String mapper, double longitude, double latitude)
GeoDistanceSortField for the specified field and reverse option.mapper - The name of the field to be used for sort.longitude - The longitude in degrees of the point to min distance sort by.latitude - The latitude in degrees of the point to min distance sort by.Copyright © 2016. All rights reserved.