Class ComplementCountingAggregator
- java.lang.Object
-
- org.apache.lucene.facet.search.aggregator.CountingAggregator
-
- org.apache.lucene.facet.search.aggregator.ComplementCountingAggregator
-
- All Implemented Interfaces:
Aggregator
public class ComplementCountingAggregator extends CountingAggregator
ACountingAggregatorused during complement counting.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.facet.search.aggregator.CountingAggregator
counterArray
-
-
Constructor Summary
Constructors Constructor Description ComplementCountingAggregator(int[] counterArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(int ordinal)Collect (and do whatever an implementation deems appropriate) the category given by its ordinal.-
Methods inherited from class org.apache.lucene.facet.search.aggregator.CountingAggregator
equals, hashCode, setNextDoc
-
-
-
-
Method Detail
-
aggregate
public void aggregate(int ordinal)
Description copied from interface:AggregatorCollect (and do whatever an implementation deems appropriate) the category given by its ordinal. This category belongs to a document given earlier byAggregator.setNextDoc(int, float).- Specified by:
aggregatein interfaceAggregator- Overrides:
aggregatein classCountingAggregator
-
-