Table of Contents

Public classSealed GeoPointField

Namespace
Rowles.LeanLucene.Document.Fields
Assembly
Rowles.LeanLucene.dll

Indexed geo-point field. Stores latitude and longitude as two numeric fields (fieldName_lat and fieldName_lon) for range filtering and distance queries.

public sealed class GeoPointField : IField
GeoPointField
Implements

Public constructor GeoPointField(string, double, double)

Initialises a new GeoPointField with the specified name, latitude, and longitude.

Public property FieldType

The kind of data this field holds.

Public property IsIndexed

Whether the field is included in the inverted index.

Public property IsStored

Whether the raw value is persisted in stored fields.

Public property LatFieldName

Returns the lat sub-field name.

Public property Latitude

Gets the latitude component of this geo-point in decimal degrees.

Public property LonFieldName

Returns the lon sub-field name.

Public property Longitude

Gets the longitude component of this geo-point in decimal degrees.

Public property Name

Field name used for indexing and retrieval.

Public property Value

Gets the serialised value of this field as "latitude,longitude".