public class DepthOneFacetResultsHandler extends FacetResultsHandler
FacetResultsHandler which counts the top-K facets at depth 1 only
and always labels all result categories. The results are always sorted by
value, in descending order.facetArrays, facetRequest, resolver, taxonomyReader| Constructor and Description |
|---|
DepthOneFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
FacetArrays facetArrays,
OrdinalValueResolver resolver) |
public DepthOneFacetResultsHandler(TaxonomyReader taxonomyReader, FacetRequest facetRequest, FacetArrays facetArrays, OrdinalValueResolver resolver)
public final FacetResult compute() throws IOException
FacetResultsHandlerFacetResult for the given FacetArrays.compute in class FacetResultsHandlerIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.