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
StatsCollector s in FacetingAccumulator |
compute, export, needsScores
postProcess
getLeafCollector, setScorer
public RangeFacetAccumulator(FacetValueAccumulator parent, String facetName, String facetValue)
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class QueryFacetAccumulator
IOException
protected void doSetNextReader(LeafReaderContext context) throws IOException
StatsCollector
s in FacetingAccumulatordoSetNextReader
in class QueryFacetAccumulator
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.