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(org.apache.lucene.index.LeafReaderContext context)
Update the readers of the rangeFacet
StatsCollector s in FacetingAccumulator |
compute, export, needsScores
postProcess
public RangeFacetAccumulator(FacetValueAccumulator parent, String facetName, String facetValue)
public void collect(int doc) throws IOException
collect
in interface org.apache.lucene.search.LeafCollector
collect
in class QueryFacetAccumulator
IOException
protected void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
StatsCollector
s in FacetingAccumulatordoSetNextReader
in class QueryFacetAccumulator
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.