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.cache |
Caching to speed up facets accumulation.
|
org.apache.lucene.facet.util |
Various utilities for faceted search
|
Modifier and Type | Method and Description |
---|---|
protected Map<CategoryListParams,Iterable<CategoryPath>> |
AssociationsFacetFields.createCategoryListMapping(Iterable<CategoryPath> categories) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,BytesRef> |
AssociationsFacetFields.getCategoryListData(CategoryListParams categoryListParams,
IntsRef ordinals,
Iterable<CategoryPath> categories) |
Modifier and Type | Method and Description |
---|---|
protected Map<CategoryListParams,Iterable<CategoryPath>> |
FacetFields.createCategoryListMapping(Iterable<CategoryPath> categories)
Creates a mapping between a
CategoryListParams and all
categories that are associated with it. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,BytesRef> |
FacetFields.getCategoryListData(CategoryListParams categoryListParams,
IntsRef ordinals,
Iterable<CategoryPath> categories)
Returns the category list data, as a mapping from key to
BytesRef
which includes the encoded data. |
Constructor and Description |
---|
CountingListBuilder(CategoryListParams categoryListParams,
FacetIndexingParams indexingParams,
TaxonomyWriter taxoWriter) |
Modifier and Type | Field and Description |
---|---|
protected CategoryListParams |
FacetIndexingParams.clParams |
protected static CategoryListParams |
FacetIndexingParams.DEFAULT_CATEGORY_LIST_PARAMS |
Modifier and Type | Method and Description |
---|---|
CategoryListParams |
PerDimensionIndexingParams.getCategoryListParams(CategoryPath category)
Returns the
CategoryListParams for the corresponding dimension
which is returned by category.getComponent(0) . |
CategoryListParams |
FacetIndexingParams.getCategoryListParams(CategoryPath category)
Returns the
CategoryListParams for this CategoryPath . |
Modifier and Type | Method and Description |
---|---|
List<CategoryListParams> |
PerDimensionIndexingParams.getAllCategoryListParams() |
List<CategoryListParams> |
FacetIndexingParams.getAllCategoryListParams()
Returns a list of all
categoryListParams that
are used for facets indexing. |
Constructor and Description |
---|
FacetIndexingParams(CategoryListParams categoryListParams)
Initializes new params with the given
CategoryListParams . |
PerDimensionIndexingParams(Map<CategoryPath,CategoryListParams> paramsMap,
CategoryListParams categoryListParams)
Same as
PerDimensionIndexingParams.PerDimensionIndexingParams(Map) , only the given
CategoryListParams will be used for any dimension that is not
specified in the given mapping. |
Constructor and Description |
---|
PerDimensionIndexingParams(Map<CategoryPath,CategoryListParams> paramsMap)
Initializes a new instance with the given dimension-to-params mapping.
|
PerDimensionIndexingParams(Map<CategoryPath,CategoryListParams> paramsMap,
CategoryListParams categoryListParams)
Same as
PerDimensionIndexingParams.PerDimensionIndexingParams(Map) , only the given
CategoryListParams will be used for any dimension that is not
specified in the given mapping. |
Modifier and Type | Method and Description |
---|---|
CategoryListData |
CategoryListCache.get(CategoryListParams clp)
Fetch the cached
CategoryListData for a given CategoryListParams . |
void |
CategoryListCache.loadAndRegister(CategoryListParams clp,
IndexReader reader,
TaxonomyReader taxo,
FacetIndexingParams iparams)
Load and register
CategoryListData . |
void |
CategoryListCache.register(CategoryListParams clp,
CategoryListData clData)
Register a pre-computed
CategoryListData . |
Modifier and Type | Method and Description |
---|---|
static String |
PartitionsUtils.partitionName(CategoryListParams clParams,
int partition)
Partition name by its number
|
static String |
PartitionsUtils.partitionNameByOrdinal(FacetIndexingParams iParams,
CategoryListParams clParams,
int ordinal)
Partition name by category ordinal
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.