Class AssociationAggregationFunction

java.lang.Object
org.apache.lucene.facet.taxonomy.AssociationAggregationFunction

public abstract class AssociationAggregationFunction extends Object
Specify aggregation logic used in TaxonomyFacetIntAssociations and TaxonomyFacetFloatAssociations.
  • Field Details

  • Constructor Details

    • AssociationAggregationFunction

      protected AssociationAggregationFunction()
      Sole constructor.
  • Method Details

    • aggregate

      public abstract int aggregate(int existingVal, int newVal)
      Implement aggregation logic for integers
    • aggregate

      public abstract float aggregate(float existingVal, float newVal)
      Implement aggregation logic for floats