Class: GeoDistanceQuery

SearchQuery. GeoDistanceQuery


<private> new GeoDistanceQuery(lon, lat, distance)

Parameters:
Name Type Description
lon number

The center longitude

lat number

The center latitude

distance string

The radius to search within (ex: 100mi)

Members


boost

boost defines the amount to boost this query.


field

Specifies the field to query.


<private> toJSON

Serializes this query to JSON for network dispatch.