Class TopNMultivalueDedupeBytesRef

java.lang.Object
org.elasticsearch.compute.operator.mvdedupe.TopNMultivalueDedupeBytesRef

public class TopNMultivalueDedupeBytesRef extends Object
Removes duplicate values from multivalued positions, and keeps only the ones that pass the predicate.

Clone of MultivalueDedupeBytesRef, but it accepts a predicate and nulls flag to filter the values in a top-N aggregation context. Values not in the top-N produce null group ids so the corresponding aggregator state is never allocated.