
GeoDistanceQuery
- Namespace
- Rowles.LeanCorpus.Search.Geo
- Assembly
- Rowles.LeanCorpus.dll
Query matching documents within a specified distance from a centre point.
public sealed class GeoDistanceQuery : Query, IEquatable<Query>
- Inheritance
-
GeoDistanceQuery
- Implements
- Inherited Members
- Extension Methods
GeoDistanceQuery(string, double, double, double)
Initialises a new GeoDistanceQuery for the specified centre and radius.
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 single field this query targets, or an empty value for fieldless and multi-field queries.
RadiusMetres
Gets the search radius in metres.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.