org.apache.lucene.facet.search
public final class FastCountingFacetsAggregator extends IntRollupFacetsAggregator
FacetsAggregator which counts the number of times each category
appears in the given set of documents. This aggregator reads the categories
from the BinaryDocValues field defined by
CategoryListParams.field, and assumes that the category ordinals were
encoded with DGapVInt8IntEncoder.| Constructor and Description |
|---|
FastCountingFacetsAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays)
Aggregate the facets found in the given matching documents.
|
createOrdinalValueResolver, requiresDocScores, rollupValuespublic final void aggregate(FacetsCollector.MatchingDocs matchingDocs, CategoryListParams clp, FacetArrays facetArrays) throws IOException
FacetsAggregatoraggregate in interface FacetsAggregatoraggregate in class IntRollupFacetsAggregatorIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.