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
StatsCollectors in FacetingAccumulator |
compute, export, needsScorespostProcesspublic RangeFacetAccumulator(FacetValueAccumulator parent, String facetName, String facetValue)
public void collect(int doc)
throws IOException
collect in interface org.apache.lucene.search.LeafCollectorcollect in class QueryFacetAccumulatorIOExceptionprotected void doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
throws IOException
StatsCollectors in FacetingAccumulatordoSetNextReader in class QueryFacetAccumulatorIOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.