Interface | Description |
---|---|
CategoryListIterator |
An interface for obtaining the category ordinals of documents.
|
Heap<T> |
Declares an interface for heap (and heap alike) structures,
handling a given type T
|
ScoredDocIDs |
Document IDs with scores for each, driving facets accumulation.
|
ScoredDocIDsIterator |
Iterator over document IDs and their scores.
|
Class | Description |
---|---|
AdaptiveFacetsAccumulator |
FacetsAccumulator whose behavior regarding complements, sampling,
etc. |
ArraysPool |
A thread-safe pool of
int[] and float[] arrays. |
DrillDown | |
FacetArrays |
Provider of arrays used for facets aggregation.
|
FacetResultsHandler |
Handler for facet results.
|
FacetsAccumulator |
Driver for Accumulating facets of faceted search requests over given
documents.
|
FacetsCollector |
Collector for facet accumulation.
|
PayloadCategoryListIteraor |
A
CategoryListIterator which reads the category ordinals from a
payload. |
PayloadIterator |
A utility class for iterating through a posting list of a given term and
retrieving the payload of the first position in every document.
|
ReusingFacetArrays | |
SamplingWrapper |
Wrap any Facets Accumulator with sampling.
|
ScoredDocIdCollector |
A
Collector which stores all docIDs and their scores in a
ScoredDocIDs instance. |
StandardFacetsAccumulator |
Standard implementation for
FacetsAccumulator , utilizing partitions to save on memory. |
TopKFacetResultsHandler |
Generate Top-K results for a particular FacetRequest.
|
TopKInEachNodeHandler |
Generates
FacetResult from the count arrays aggregated for a particular
FacetRequest . |
TopKInEachNodeHandler.AACO |
Maintains an array of
AggregatedCategory . |
TopKInEachNodeHandler.IntermediateFacetResultWithHash |
Intermediate result to hold counts from one or more partitions processed
thus far.
|
TotalFacetCounts |
Maintain Total Facet Counts per partition, for given parameters:
Index reader of an index
Taxonomy index reader
Facet indexing params (and particularly the category list params)
The total facet counts are maintained as an array of arrays of integers,
where a separate array is kept for each partition.
|
TotalFacetCountsCache |
Manage an LRU cache for
TotalFacetCounts per index, taxonomy, and
facet indexing params. |
We now describe the simpler interfaces. There are mainly 3 interfaces for faceted search:
Facets Request
defines requirements:
Facets Extractor
Controls how facets are extracted, with variations of:
Facet Results Handler
Controls how results are further processed and merged (also between partitions):
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.