Package | Description |
---|---|
org.apache.lucene.facet.associations |
Allows associating arbitrary values with a category.
|
org.apache.lucene.facet.range |
Code to compute facets for numeric ranges.
|
org.apache.lucene.facet.sampling |
Facets sampling.
|
org.apache.lucene.facet.search |
Facets search code.
|
Modifier and Type | Class and Description |
---|---|
class |
SumFloatAssociationFacetsAggregator
A
FacetsAggregator which computes the weight of a category as the sum
of the float values associated with it in the result documents. |
class |
SumIntAssociationFacetsAggregator
A
FacetsAggregator which computes the weight of a category as the sum
of the integer values associated with it in the result documents. |
Modifier and Type | Method and Description |
---|---|
FacetsAggregator |
SumIntAssociationFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
FacetsAggregator |
SumFloatAssociationFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
Modifier and Type | Method and Description |
---|---|
FacetsAggregator |
RangeFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
Modifier and Type | Method and Description |
---|---|
FacetsAggregator |
Sampler.OverSampledFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
Modifier and Type | Class and Description |
---|---|
class |
CachedOrdsCountingFacetsAggregator
A
FacetsAggregator which updates categories values by counting their
occurrences in matching documents. |
class |
CountingFacetsAggregator
A
FacetsAggregator which counts the number of times each category
appears in the given set of documents. |
class |
FastCountingFacetsAggregator
A
FacetsAggregator which counts the number of times each category
appears in the given set of documents. |
class |
IntRollupFacetsAggregator
A
FacetsAggregator which implements
IntRollupFacetsAggregator.rollupValues(FacetRequest, int, int[], int[], FacetArrays) by
summing the values from FacetArrays.getIntArray() . |
class |
MultiFacetsAggregator
A
FacetsAggregator which chains multiple aggregators for aggregating
the association values of categories that belong to the same category list. |
class |
PerCategoryListAggregator
A
FacetsAggregator which invokes the proper aggregator per
CategoryListParams . |
class |
SumScoreFacetsAggregator
A
FacetsAggregator which updates the weight of a category by summing the
scores of documents it was found in. |
Modifier and Type | Method and Description |
---|---|
static FacetsAggregator |
CountingFacetsAggregator.create(CategoryListParams clp)
Returns a
FacetsAggregator suitable for counting categories given
the CategoryListParams . |
FacetsAggregator |
SumScoreFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
FacetsAggregator |
CountFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
FacetsAggregator |
SumValueSourceFacetRequest.createFacetsAggregator(FacetIndexingParams fip) |
abstract FacetsAggregator |
FacetRequest.createFacetsAggregator(FacetIndexingParams fip)
Returns the
FacetsAggregator which can aggregate the categories of
this facet request. |
FacetsAggregator |
TaxonomyFacetsAccumulator.getAggregator()
Returns the
FacetsAggregator to use for aggregating the categories
found in the result documents. |
Constructor and Description |
---|
MultiFacetsAggregator(Map<CategoryPath,FacetsAggregator> aggregators)
Constructor.
|
PerCategoryListAggregator(Map<CategoryListParams,FacetsAggregator> aggregators,
FacetIndexingParams fip) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.