Class DoubleMultiValuesToSingleValuesSource

  • All Implemented Interfaces:
    org.apache.lucene.search.SegmentCacheable
    Direct Known Subclasses:
    GeoPointDistanceMultiValuesToSingleValuesSource

    public abstract class DoubleMultiValuesToSingleValuesSource
    extends org.apache.lucene.search.DoubleValuesSource
    An implementation of DoubleValuesSource for docvalues with multiple values per document, where multiple values are "aggregated" into a single value according to a given MultiValueMode.

    Some of this code was copied and adapted from org.elasticsearch.search.MultiValueMode from the Elasticsearch project.