public class GeoDistanceFacetExecutor extends FacetExecutor
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoDistanceFacetExecutor.Aggregator |
FacetExecutor.Mode, FacetExecutor.Post| Constructor and Description |
|---|
GeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData,
double lat,
double lon,
DistanceUnit unit,
GeoDistance geoDistance,
GeoDistanceFacet.Entry[] entries,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
org.elasticsearch.search.facet.geodistance.GeoDistanceFacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
postpublic GeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData, double lat, double lon, DistanceUnit unit, GeoDistance geoDistance, GeoDistanceFacet.Entry[] entries, SearchContext context)
public org.elasticsearch.search.facet.geodistance.GeoDistanceFacetExecutor.Collector collector()
FacetExecutorcollector in class FacetExecutorpublic InternalFacet buildFacet(String facetName)
FacetExecutorbuildFacet in class FacetExecutorCopyright © 2009–2016. All rights reserved.