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.
|
post
public 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()
FacetExecutor
collector
in class FacetExecutor
public InternalFacet buildFacet(String facetName)
FacetExecutor
buildFacet
in class FacetExecutor
Copyright © 2009–2015. All rights reserved.