Finer granularity than 1 mile isn't accurate with standard C# math. Also, there's already a 2nd precise filter, if needed, in DistanceQueryBuilder, that will make the filtering exact.

Namespace: Lucene.Net.Spatial.Tier
Assembly: Lucene.Net.Contrib.Spatial (in Lucene.Net.Contrib.Spatial.dll) Version: 2.9.1.2 (2.9.1.002)

Syntax

C#
public static double MilesFloor
Visual Basic
Public Shared MilesFloor As Double
Visual C++
public:
static double MilesFloor

See Also