Package | Description |
---|---|
org.apache.lucene.facet.associations |
Allows associating arbitrary values with a category.
|
org.apache.lucene.facet.index |
Facets indexing code.
|
org.apache.lucene.facet.params |
Facets indexing and search parameters.
|
org.apache.lucene.facet.search |
Facets search code.
|
Modifier and Type | Method and Description |
---|---|
protected Map<CategoryListParams,Iterable<CategoryPath>> |
AssociationsFacetFields.createCategoryListMapping(Iterable<CategoryPath> categories) |
Modifier and Type | Method and Description |
---|---|
void |
SumFloatAssociationFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
MultiAssociationsFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
SumIntAssociationFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
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 | Class and Description |
---|---|
class |
PerDimensionOrdinalPolicy
A
CategoryListParams which allow controlling the
CategoryListParams.OrdinalPolicy used for each dimension. |
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 |
---|---|
protected Set<CategoryListParams> |
FacetsAccumulator.getCategoryLists() |
Modifier and Type | Method and Description |
---|---|
void |
SumScoreFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
PerCategoryListAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
FastCountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
FacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays)
Aggregate the facets found in the given matching documents.
|
void |
CachedOrdsCountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
abstract void |
IntRollupFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
void |
CountingFacetsAggregator.aggregate(FacetsCollector.MatchingDocs matchingDocs,
CategoryListParams clp,
FacetArrays facetArrays) |
static OrdinalsCache.CachedOrds |
OrdinalsCache.getCachedOrds(AtomicReaderContext context,
CategoryListParams clp)
Returns the
OrdinalsCache.CachedOrds relevant to the given
AtomicReaderContext , or null if there is no
BinaryDocValues in this reader for the requested
field . |
Constructor and Description |
---|
OrdinalsCache.CachedOrds(BinaryDocValues dv,
int maxDoc,
CategoryListParams clp)
Creates a new
OrdinalsCache.CachedOrds from the BinaryDocValues . |
Constructor and Description |
---|
PerCategoryListAggregator(Map<CategoryListParams,FacetsAggregator> aggregators,
FacetIndexingParams fip) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.