Class DistanceToShapeValueSource
The distance from a provided Point to a Point retrieved from a ValueSource via
ObjectVal(Int32). The distance
is calculated via a .
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
DistanceToShapeValueSource
Assembly: Lucene.Net.Spatial.dll
Syntax
public class DistanceToShapeValueSource : ValueSource
Constructors
|
Improve this Doc
View Source
DistanceToShapeValueSource(ValueSource, IPoint, Double, SpatialContext)
Declaration
public DistanceToShapeValueSource(ValueSource shapeValueSource, IPoint queryPoint, double multiplier, SpatialContext ctx)
Parameters
Type |
Name |
Description |
ValueSource |
shapeValueSource |
|
IPoint |
queryPoint |
|
System.Double |
multiplier |
|
SpatialContext |
ctx |
|
Methods
|
Improve this Doc
View Source
CreateWeight(IDictionary, IndexSearcher)
Declaration
public override void CreateWeight(IDictionary context, IndexSearcher searcher)
Parameters
|
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