## Package org.apache.lucene.facet.associations

Allows associating arbitrary values with a category.

See:
Description

Interface Summary
CategoryAssociation: Allows associating an arbitrary value with a `CategoryPath`.

Class Summary
AssociationFloatSumFacetRequest: A `FacetRequest` for weighting facets according to their float association by summing the association values.
AssociationIntSumFacetRequest: A `FacetRequest` for weighting facets according to their integer association by summing the association values.
AssociationsDrillDownStream: A `DrillDownStream` which adds to each drill-down token a payload according to the `CategoryAssociation` defined in the `CategoryAssociationsContainer`.
AssociationsFacetFields: A utility class for adding facet fields to a document.
AssociationsListBuilder: A `AssociationsListBuilder` which encodes category-association value pairs.
CategoryAssociationsContainer: Holds `CategoryAssociation` per `CategoryPath`.
CategoryFloatAssociation: A `CategoryAssociation` that associates a float with a category.
CategoryIntAssociation: A `CategoryAssociation` that associates an integer with a category.
MultiAssociationsFacetsAggregator: A `FacetsAggregator` which chains multiple aggregators for aggregating the association values of categories that belong to the same category list.
SumFloatAssociationFacetsAggregator: A `FacetsAggregator` which computes the weight of a category as the sum of the float values associated with it in the result documents.
SumIntAssociationFacetsAggregator: A `FacetsAggregator` which computes the weight of a category as the sum of the integer values associated with it in the result documents.

## Package org.apache.lucene.facet.associations Description

Allows associating arbitrary values with a category. The value can be used e.g. to compute the category's weight during faceted search.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.