Class DistanceValueSource
An implementation of the Lucene ValueSource model that returns the distance
for a PointVectorStrategy.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
DistanceValueSource
Assembly: Lucene.Net.Spatial.dll
Syntax
public class DistanceValueSource : ValueSource
Constructors
|
Improve this Doc
View Source
DistanceValueSource(PointVectorStrategy, IPoint, Double)
Declaration
public DistanceValueSource(PointVectorStrategy strategy, IPoint from, double multiplier)
Parameters
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Returns