Package org.apache.lucene.facet.search
Class TopKInEachNodeHandler.IntermediateFacetResultWithHash
- java.lang.Object
-
- org.apache.lucene.facet.search.TopKInEachNodeHandler.IntermediateFacetResultWithHash
-
- All Implemented Interfaces:
IntermediateFacetResult
- Enclosing class:
- TopKInEachNodeHandler
public static class TopKInEachNodeHandler.IntermediateFacetResultWithHash extends Object implements IntermediateFacetResult
Intermediate result to hold counts from one or more partitions processed thus far. Its main field, constructor parameter mapToAACOs, is a map from ordinals to AACOs. The AACOs mapped to contain ordinals and values encountered in the count arrays of the partitions processed thus far. The ordinals mapped from are their parents, and they may be not contained in the partitions processed thus far. All nodes belong to the taxonomy subtree defined at the facet request, constructor parameter facetReq, by its root and depth.
-
-
Field Summary
Fields Modifier and Type Field Description protected IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO>
mapToAACOs
-
Constructor Summary
Constructors Constructor Description IntermediateFacetResultWithHash(FacetRequest facetReq, IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO> mapToAACOs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetRequest
getFacetRequest()
Facet request for which this temporary result was created.
-
-
-
Field Detail
-
mapToAACOs
protected IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO> mapToAACOs
-
-
Constructor Detail
-
IntermediateFacetResultWithHash
public IntermediateFacetResultWithHash(FacetRequest facetReq, IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO> mapToAACOs)
-
-
Method Detail
-
getFacetRequest
public FacetRequest getFacetRequest()
Description copied from interface:IntermediateFacetResult
Facet request for which this temporary result was created.- Specified by:
getFacetRequest
in interfaceIntermediateFacetResult
-
-