An interface for obtaining the category ordinals of documents.
Declares an interface for heap (and heap alike) structures, handling a given type T
Document IDs with scores for each, driving facets accumulation.
Iterator over document IDs and their scores.
A thread-safe pool of
Provider of arrays used for facets aggregation.
Handler for facet results.
Driver for Accumulating facets of faceted search requests over given documents.
Collector for facet accumulation.
A utility class for iterating through a posting list of a given term and retrieving the payload of the first position in every document.
Wrap any Facets Accumulator with sampling.
Standard implementation for
Generate Top-K results for a particular FacetRequest.
Maintains an array of
Intermediate result to hold counts from one or more partitions processed thus far.
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.
Manage an LRU cache for
We now describe the simpler interfaces. There are mainly 3 interfaces for faceted search:
Facets Requestdefines requirements:
Facets ExtractorControls how facets are extracted, with variations of:
Facet Results HandlerControls how results are further processed and merged (also between partitions):
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.