Class AssociationFloatSumAggregator

  • All Implemented Interfaces:
    Aggregator

    public class AssociationFloatSumAggregator
    extends Object
    implements Aggregator
    An Aggregator which updates the weight of a category by summing the weights of the float association it finds for every document.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Field Detail

      • field

        protected final String field
      • sumArray

        protected final float[] sumArray
    • Constructor Detail

      • AssociationFloatSumAggregator

        public AssociationFloatSumAggregator​(org.apache.lucene.index.IndexReader reader,
                                             float[] sumArray)
                                      throws IOException
        Throws:
        IOException
      • AssociationFloatSumAggregator

        public AssociationFloatSumAggregator​(String field,
                                             org.apache.lucene.index.IndexReader reader,
                                             float[] sumArray)
                                      throws IOException
        Throws:
        IOException