Class ShapeFieldCacheDistanceValueSource

  • All Implemented Interfaces:
    SegmentCacheable

    public class ShapeFieldCacheDistanceValueSource
    extends DoubleValuesSource
    A DoubleValuesSource that returns the spatial distance between an input point and a document's points in ShapeFieldCacheProvider. The shortest distance is returned if a document has more than one point.