Class LongAggregationsFacetRecorder

java.lang.Object
org.apache.lucene.sandbox.facet.recorders.LongAggregationsFacetRecorder
All Implemented Interfaces:
FacetRecorder

public final class LongAggregationsFacetRecorder extends Object implements FacetRecorder
FacetRecorder that computes multiple long aggregations per facet.

TODO: [premature optimization idea] if instead of one array we keep aggregations in two LongVector (one for MAX aggregation and one for SUM) we can benefit from SIMD?

WARNING: This API is experimental and might change in incompatible ways in the next release.