Modifier and Type | Field and Description |
---|---|
static GeoDistance |
GeoDistance.DEFAULT
Default
GeoDistance function. |
Modifier and Type | Method and Description |
---|---|
static GeoDistance |
GeoDistance.fromString(String name)
Get a
GeoDistance according to a given name. |
static GeoDistance |
GeoDistance.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoDistance[] |
GeoDistance.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
GeoDistanceFilterBuilder |
GeoDistanceFilterBuilder.geoDistance(GeoDistance geoDistance) |
GeoDistanceRangeFilterBuilder |
GeoDistanceRangeFilterBuilder.geoDistance(GeoDistance geoDistance) |
Modifier and Type | Method and Description |
---|---|
GeoDistance |
GeoDistanceRangeFilter.geoDistance() |
GeoDistance |
GeoDistanceFilter.geoDistance() |
Constructor and Description |
---|
GeoDistanceFilter(double lat,
double lon,
double distance,
GeoDistance geoDistance,
IndexGeoPointFieldData indexFieldData,
GeoPointFieldMapper mapper,
String optimizeBbox) |
GeoDistanceRangeFilter(GeoPoint point,
Double lowerVal,
Double upperVal,
boolean includeLower,
boolean includeUpper,
GeoDistance geoDistance,
GeoPointFieldMapper mapper,
IndexGeoPointFieldData indexFieldData,
String optimizeBbox) |
Modifier and Type | Method and Description |
---|---|
GeoDistanceBuilder |
GeoDistanceBuilder.distanceType(GeoDistance distanceType)
Set the
distance type to use, defaults to
GeoDistance#SLOPPY_ARC . |
Modifier and Type | Method and Description |
---|---|
GeoDistanceFacetBuilder |
GeoDistanceFacetBuilder.geoDistance(GeoDistance geoDistance)
The geo distance type used to compute the distance.
|
Constructor and Description |
---|
GeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData,
double lat,
double lon,
DistanceUnit unit,
GeoDistance geoDistance,
GeoDistanceFacet.Entry[] entries,
SearchContext context) |
ScriptGeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData,
double lat,
double lon,
DistanceUnit unit,
GeoDistance geoDistance,
GeoDistanceFacet.Entry[] entries,
SearchContext context,
String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params) |
ValueGeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData,
double lat,
double lon,
DistanceUnit unit,
GeoDistance geoDistance,
GeoDistanceFacet.Entry[] entries,
SearchContext context,
IndexNumericFieldData valueIndexFieldData) |
Modifier and Type | Method and Description |
---|---|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.geoDistance(GeoDistance geoDistance)
The geo distance type used to compute the distance.
|
Copyright © 2009–2015. All rights reserved.