public class RangeFacetAccumulator extends QueryFacetAccumulator
facetName, facetValue, parent| Constructor and Description |
|---|
RangeFacetAccumulator(FacetValueAccumulator parent,
String facetName,
String facetValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc)
Tell the FacetingAccumulator to collect the doc with the
given rangeFacet and range.
|
protected void |
doSetNextReader(LeafReaderContext context)
Update the readers of the rangeFacet
StatsCollectors in FacetingAccumulator |
compute, export, needsScorespostProcessgetLeafCollector, setScorerpublic RangeFacetAccumulator(FacetValueAccumulator parent, String facetName, String facetValue)
public void collect(int doc)
throws IOException
collect in interface LeafCollectorcollect in class QueryFacetAccumulatorIOExceptionprotected void doSetNextReader(LeafReaderContext context) throws IOException
StatsCollectors in FacetingAccumulatordoSetNextReader in class QueryFacetAccumulatorIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.