Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Returns the distance between the center of the indexed rectangle and the query shape. More...
Inherits Lucene.Net.Spatial.BBox.BBoxSimilarity.
Public Member Functions | |
DistanceSimilarity (SpatialContext ctx, Point queryPoint) | |
double | Score (Rectangle indexRect, Explanation exp) |
Returns the distance between the center of the indexed rectangle and the query shape.
Definition at line 29 of file DistanceSimilarity.cs.
Lucene.Net.Spatial.BBox.DistanceSimilarity.DistanceSimilarity | ( | SpatialContext | ctx, |
Point | queryPoint | ||
) |
Definition at line 35 of file DistanceSimilarity.cs.
double Lucene.Net.Spatial.BBox.DistanceSimilarity.Score | ( | Rectangle | indexRect, |
Explanation | exp | ||
) |
Implements Lucene.Net.Spatial.BBox.BBoxSimilarity.
Definition at line 42 of file DistanceSimilarity.cs.