Table of Contents

Public classSealed 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

Public constructor GeoDistanceQuery(string, double, double, double)

Initialises a new GeoDistanceQuery for the specified centre and radius.

Properties

Public propertyRead-only CentreLat

Gets the centre latitude of the distance query in decimal degrees.

Public propertyRead-only CentreLon

Gets the centre longitude of the distance query in decimal degrees.

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only RadiusMetres

Gets the search radius in metres.

Methods

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.