
GeoDistanceQuery
- Namespace
- Rowles.LeanLucene.Search.Geo
- Assembly
- Rowles.LeanLucene.dll
Query matching documents within a specified distance from a centre point.
public sealed class GeoDistanceQuery : Query, IEquatable<Query>
- Inheritance
-
GeoDistanceQuery
- Inherited Members
- Extension Methods
Constructors
GeoDistanceQuery(string, double, double, double)
Initialises a new GeoDistanceQuery for the specified centre and radius.
Properties
CentreLat
Gets the centre latitude of the distance query in decimal degrees.
CentreLon
Gets the centre longitude of the distance query in decimal degrees.
Field
Gets the primary field this query targets.
RadiusMetres
Gets the search radius in metres.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.