public class CachedOrdsCountingFacetsAggregator extends IntRollupFacetsAggregator
FacetsAggregator which updates categories values by counting their
occurrences in matching documents. Uses OrdinalsCache to obtain the
category ordinals of each segment.| Constructor and Description |
|---|
CachedOrdsCountingFacetsAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays)
Aggregate the facets found in the given matching documents.
|
requiresDocScores, rollupValuespublic void aggregate(FacetsCollector.MatchingDocs matchingDocs, CategoryListParams clp, FacetArrays facetArrays) throws IOException
FacetsAggregatoraggregate in interface FacetsAggregatoraggregate in class IntRollupFacetsAggregatorIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.