Provide a distance filter based from a center point with a radius in miles
Namespace: Lucene.Net.Spatial.GeoHashAssembly: Lucene.Net.Contrib.Spatial (in Lucene.Net.Contrib.Spatial.dll) Version: 2.9.1.2 (2.9.1.002)
Syntax
C# |
---|
public GeoHashDistanceFilter( Filter startingFilter, double lat, double lng, double miles, string geoHashField ) |
Visual Basic |
---|
Public Sub New ( _ startingFilter As Filter, _ lat As Double, _ lng As Double, _ miles As Double, _ geoHashField As String _ ) |
Visual C++ |
---|
public: GeoHashDistanceFilter( Filter^ startingFilter, double lat, double lng, double miles, String^ geoHashField ) |
Parameters
- startingFilter
- Type: Lucene.Net.Search..::..Filter
The starting filter.
- lat
- Type: System..::..Double
The lat.
- lng
- Type: System..::..Double
The LNG.
- miles
- Type: System..::..Double
The miles.
- geoHashField
- Type: System..::..String
The geo hash field.