Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
|
org.apache.lucene.facet.search.cache |
Caching to speed up facets accumulation.
|
org.apache.lucene.facet.search.params |
Parameters for Faceted Search
|
org.apache.lucene.facet.search.params.association |
Association-based Parameters for Faceted Search.
|
org.apache.lucene.facet.search.results |
Results of Faceted Search
|
org.apache.lucene.facet.search.sampling |
Sampling for facets accumulation
|
org.apache.lucene.facet.taxonomy.directory |
Taxonomy implemented using a Lucene-Index
|
org.apache.lucene.facet.util |
Various utilities for faceted search
|
Modifier and Type | Field and Description |
---|---|
protected TaxonomyReader |
FacetResultsHandler.taxonomyReader
Taxonomy for which facets are handled
|
protected TaxonomyReader |
FacetsAccumulator.taxonomyReader |
Modifier and Type | Method and Description |
---|---|
TaxonomyReader |
FacetResultsHandler.getTaxonomyReader()
Return taxonomy reader used for current facets accumulation operation.
|
Modifier and Type | Method and Description |
---|---|
TotalFacetCounts |
TotalFacetCountsCache.getTotalCounts(IndexReader indexReader,
TaxonomyReader taxonomy,
FacetIndexingParams facetIndexingParams,
CategoryListCache clCache)
Get the total facet counts for a reader/taxonomy pair and facet indexing parameters.
|
protected FacetsAccumulator |
FacetsCollector.initFacetsAccumulator(FacetSearchParams facetSearchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader)
Create the
FacetsAccumulator to be used. |
protected ScoredDocIdCollector |
FacetsCollector.initScoredDocCollector(FacetSearchParams facetSearchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader)
Create a
ScoredDocIdCollector to be used as the first phase of
the facet collection. |
void |
TotalFacetCountsCache.load(File inputFile,
IndexReader indexReader,
TaxonomyReader taxonomy,
FacetIndexingParams facetIndexingParams)
Load
TotalFacetCounts matching input parameters from the provided outputFile
and add them into the cache for the provided indexReader, taxonomy, and facetIndexingParams. |
void |
TotalFacetCountsCache.store(File outputFile,
IndexReader indexReader,
TaxonomyReader taxonomy,
FacetIndexingParams facetIndexingParams,
CategoryListCache clCache)
Store the
TotalFacetCounts matching input parameters into the provided outputFile,
making them available for a later call to TotalFacetCountsCache.load(File, IndexReader, TaxonomyReader, FacetIndexingParams) . |
Constructor and Description |
---|
AdaptiveFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader)
Create an
AdaptiveFacetsAccumulator |
AdaptiveFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator)
Create an
AdaptiveFacetsAccumulator |
FacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest)
Create a faceted search handler.
|
FacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader) |
FacetsCollector(FacetSearchParams facetSearchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader)
Create a collector for accumulating facets while collecting documents
during search.
|
StandardFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader) |
StandardFacetsAccumulator(FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator) |
TopKFacetResultsHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest)
Construct top-K results handler.
|
TopKInEachNodeHandler(TaxonomyReader taxonomyReader,
FacetRequest facetRequest) |
Modifier and Type | Method and Description |
---|---|
void |
CategoryListCache.loadAndRegister(CategoryListParams clp,
IndexReader reader,
TaxonomyReader taxo,
FacetIndexingParams iparams)
Load and register
CategoryListData . |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ScoreFacetRequest.createAggregator(boolean useComplements,
FacetArrays arrays,
IndexReader reader,
TaxonomyReader taxonomy) |
Aggregator |
CountFacetRequest.createAggregator(boolean useComplements,
FacetArrays arrays,
IndexReader reader,
TaxonomyReader taxonomy) |
abstract Aggregator |
FacetRequest.createAggregator(boolean useComplements,
FacetArrays arrays,
IndexReader indexReader,
TaxonomyReader taxonomy)
Create an aggregator for this facet request.
|
CategoryListIterator |
FacetRequest.createCategoryListIterator(IndexReader reader,
TaxonomyReader taxo,
FacetSearchParams sParams,
int partition)
Create the category list iterator for the specified partition.
|
FacetResultsHandler |
FacetRequest.createFacetResultsHandler(TaxonomyReader taxonomyReader)
Creates a new
FacetResultsHandler that matches the request logic
and current settings, such as depth ,
limits-mode , etc, as well as the passed in
TaxonomyReader . |
Modifier and Type | Method and Description |
---|---|
Aggregator |
AssociationIntSumFacetRequest.createAggregator(boolean useComplements,
FacetArrays arrays,
IndexReader reader,
TaxonomyReader taxonomy) |
Aggregator |
AssociationFloatSumFacetRequest.createAggregator(boolean useComplements,
FacetArrays arrays,
IndexReader reader,
TaxonomyReader taxonomy) |
Modifier and Type | Method and Description |
---|---|
CategoryPath |
FacetResultNode.getLabel(TaxonomyReader taxonomyReader)
Category path of the category of this result.
|
CategoryPath |
MutableFacetResultNode.getLabel(TaxonomyReader taxonomyReader) |
Modifier and Type | Method and Description |
---|---|
SampleFixer |
Sampler.getSampleFixer(IndexReader indexReader,
TaxonomyReader taxonomyReader,
FacetSearchParams searchParams)
Get a fixer of sample facet accumulation results.
|
Constructor and Description |
---|
SamplingAccumulator(Sampler sampler,
FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader)
Constructor...
|
SamplingAccumulator(Sampler sampler,
FacetSearchParams searchParams,
IndexReader indexReader,
TaxonomyReader taxonomyReader,
IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator)
Constructor...
|
Modifier and Type | Class and Description |
---|---|
class |
DirectoryTaxonomyReader
A
TaxonomyReader which retrieves stored taxonomy information from a
Directory . |
Modifier and Type | Method and Description |
---|---|
static int |
PartitionsUtils.partitionOffset(FacetIndexingParams iParams,
int partitionNumber,
TaxonomyReader taxonomyReader)
Get the offset for a given partition.
|
static int |
PartitionsUtils.partitionOffset(FacetSearchParams sParams,
int partitionNumber,
TaxonomyReader taxonomyReader) |
static int |
PartitionsUtils.partitionSize(FacetIndexingParams indexingParams,
TaxonomyReader taxonomyReader)
Get the partition size in this parameter, or return the size of the taxonomy, which
is smaller.
|
static int |
PartitionsUtils.partitionSize(FacetSearchParams sParams,
TaxonomyReader taxonomyReader) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.