Class DistanceValueSource
An implementation of the Lucene ValueSource model that returns the distance for a PointVectorStrategy.
@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 DistanceValueSource : ValueSource
Constructors
Name | Description |
---|---|
DistanceValueSource(PointVectorStrategy, IPoint, Double) | Constructor. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetDescription() | Returns the ValueSource description. |
GetHashCode() | |
GetValues(IDictionary, AtomicReaderContext) | Returns the FunctionValues used by the function query. |