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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapToAACOs
protected IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO> mapToAACOs
TopKInEachNodeHandler.IntermediateFacetResultWithHash
public TopKInEachNodeHandler.IntermediateFacetResultWithHash(FacetRequest facetReq,
IntToObjectMap<org.apache.lucene.facet.search.TopKInEachNodeHandler.AACO> mapToAACOs)
getFacetRequest
public FacetRequest getFacetRequest()
- Description copied from interface:
IntermediateFacetResult
- Facet request for which this temporary result was created.
- Specified by:
getFacetRequest
in interface IntermediateFacetResult