Create a distance query using a boundary box wrapper around a more precise DistanceFilter.

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 DistanceQueryBuilder(
	double lat,
	double lng,
	double miles,
	string latField,
	string lngField,
	string tierFieldPrefix,
	bool needPrecise
)
Visual Basic
Public Sub New ( _
	lat As Double, _
	lng As Double, _
	miles As Double, _
	latField As String, _
	lngField As String, _
	tierFieldPrefix As String, _
	needPrecise As Boolean _
)
Visual C++
public:
DistanceQueryBuilder(
	double lat, 
	double lng, 
	double miles, 
	String^ latField, 
	String^ lngField, 
	String^ tierFieldPrefix, 
	bool needPrecise
)

Parameters

lat
Type: System..::..Double
The lat.
lng
Type: System..::..Double
The Lng.
miles
Type: System..::..Double
The miles.
latField
Type: System..::..String
The lat field.
lngField
Type: System..::..String
The Lng field.
tierFieldPrefix
Type: System..::..String
The tier field prefix.
needPrecise
Type: System..::..Boolean
if set to true [need precise].

See Also