Package | Description |
---|---|
org.apache.lucene.facet.associations |
Category Association
|
org.apache.lucene.facet.index |
Indexing of document categories
|
org.apache.lucene.facet.index.params |
Indexing-time specifications for handling facets
|
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.util |
Various utilities for faceted search
|
Constructor and Description |
---|
AssociationsDrillDownStream(CategoryAssociationsContainer associations,
FacetIndexingParams indexingParams) |
AssociationsFacetFields(TaxonomyWriter taxonomyWriter,
FacetIndexingParams params)
Constructs a new instance with the given facet indexing params.
|
Modifier and Type | Field and Description |
---|---|
protected FacetIndexingParams |
FacetFields.indexingParams |
Constructor and Description |
---|
CountingListBuilder(CategoryListParams categoryListParams,
FacetIndexingParams indexingParams,
TaxonomyWriter taxoWriter) |
DrillDownStream(Iterable<CategoryPath> categories,
FacetIndexingParams indexingParams) |
FacetFields(TaxonomyWriter taxonomyWriter,
FacetIndexingParams params)
Constructs a new instance with the given facet indexing params.
|
OrdinalMappingAtomicReader(AtomicReader in,
int[] ordinalMap,
FacetIndexingParams indexingParams)
Wraps an AtomicReader, mapping ordinals according to the ordinalMap,
using the provided indexingParams.
|
Modifier and Type | Class and Description |
---|---|
class |
PerDimensionIndexingParams
A
FacetIndexingParams that utilizes different category lists, defined
by the dimension specified by a category (see
PerDimensionIndexingParams.PerDimensionIndexingParams(Map, CategoryListParams) . |
Modifier and Type | Field and Description |
---|---|
static FacetIndexingParams |
FacetIndexingParams.ALL_PARENTS
|
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.
|
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. |
static Query |
DrillDown.query(FacetIndexingParams iParams,
Query baseQuery,
CategoryPath... paths)
Wraps a given
Query as a drill-down query over the given
categories, assuming all are required (e.g. |
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) . |
static Term |
DrillDown.term(FacetIndexingParams iParams,
CategoryPath path)
Return a drill-down
Term for a category. |
Modifier and Type | Method and Description |
---|---|
void |
CategoryListCache.loadAndRegister(CategoryListParams clp,
IndexReader reader,
TaxonomyReader taxo,
FacetIndexingParams iparams)
Load and register
CategoryListData . |
Modifier and Type | Field and Description |
---|---|
protected FacetIndexingParams |
FacetSearchParams.indexingParams |
Modifier and Type | Method and Description |
---|---|
FacetIndexingParams |
FacetSearchParams.getFacetIndexingParams()
Returns the
FacetIndexingParams that were passed to the
constructor. |
Constructor and Description |
---|
FacetSearchParams(List<FacetRequest> facetRequests,
FacetIndexingParams indexingParams)
Initilizes with the given
requests and
FacetIndexingParams . |
Modifier and Type | Method and Description |
---|---|
static String |
PartitionsUtils.partitionNameByOrdinal(FacetIndexingParams iParams,
CategoryListParams clParams,
int ordinal)
Partition name by category ordinal
|
static int |
PartitionsUtils.partitionNumber(FacetIndexingParams iParams,
int ordinal)
Partition number of an ordinal.
|
static int |
PartitionsUtils.partitionOffset(FacetIndexingParams iParams,
int partitionNumber,
TaxonomyReader taxonomyReader)
Get the offset for a given partition.
|
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.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.