Class ShapeFieldCacheDistanceValueSource

java.lang.Object
org.apache.lucene.search.DoubleValuesSource
org.apache.lucene.spatial.util.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.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.