public static class GeoDistanceFacetExecutor.Aggregator extends Object
Modifier and Type | Field and Description |
---|---|
protected GeoDistanceFacet.Entry[] |
entries |
protected GeoDistance.FixedSourceDistance |
fixedSourceDistance |
Constructor and Description |
---|
Aggregator(GeoDistance.FixedSourceDistance fixedSourceDistance,
GeoDistanceFacet.Entry[] entries) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectGeoPoint(GeoDistanceFacet.Entry entry,
int docId,
double distance) |
void |
onDoc(int docId,
MultiGeoPointValues values) |
protected final GeoDistance.FixedSourceDistance fixedSourceDistance
protected final GeoDistanceFacet.Entry[] entries
public Aggregator(GeoDistance.FixedSourceDistance fixedSourceDistance, GeoDistanceFacet.Entry[] entries)
public void onDoc(int docId, MultiGeoPointValues values)
protected void collectGeoPoint(GeoDistanceFacet.Entry entry, int docId, double distance)
Copyright © 2009–2015. All rights reserved.