Class ShapeFieldCacheDistanceValueSource
An implementation of the Lucene ValueSource that returns the spatial distance between an input point and a document's points in ShapeFieldCacheProvider<T>. The shortest distance is returned if a document has more than one point.
@lucene.internal
Inherited Members
Lucene.Net.Queries.Function.ValueSource.CreateWeight(System.Collections.IDictionary, Lucene.Net.Search.IndexSearcher)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Spatial.dll
Syntax
[Serializable]
public class ShapeFieldCacheDistanceValueSource : ValueSource
Constructors
Name | Description |
---|---|
ShapeFieldCacheDistanceValueSource(SpatialContext, ShapeFieldCacheProvider<IPoint>, IPoint, Double) |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetDescription() | |
GetHashCode() | |
GetValues(IDictionary, AtomicReaderContext) |