org.apache.lucene.facet.search
Class FacetResultsHandler
java.lang.Object
org.apache.lucene.facet.search.FacetResultsHandler
- Direct Known Subclasses:
- DepthOneFacetResultsHandler, PartitionsFacetResultsHandler
public abstract class FacetResultsHandler
- extends Object
Computes the top categories for a given FacetRequest
.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taxonomyReader
public final TaxonomyReader taxonomyReader
facetRequest
public final FacetRequest facetRequest
resolver
protected final OrdinalValueResolver resolver
facetArrays
protected final FacetArrays facetArrays
FacetResultsHandler
public FacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest,
OrdinalValueResolver resolver,
FacetArrays facetArrays)
compute
public abstract FacetResult compute()
throws IOException
- Computes the
FacetResult
for the given FacetArrays
.
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.