Class: GeoDistanceFilter

GeoDistanceFilter

ElasticSearch geo distance filter.

Constructor

new GeoDistanceFilter(distanceValue, distanceUnit, geoJsonArry, termPath, cacheopt)

Parameters:
Name Type Attributes Description
distanceValue number

Distance scalar.

distanceUnit string

Distance unit: See bit.ly/1yjZaiy

geoJsonArry Array.<number>

[lon, lat] to match GeoJson spec.

termPath string

document path to term containing location.

cache bool <optional>

Determine whether to cache the filter. Defaults to true.

Source:

Extends

GeoDistanceFilter

ElasticSearch geo distance filter.

Constructor

new GeoDistanceFilter(distanceValue, distanceUnit, geoJsonArry, termPath, cacheopt)

Parameters:
Name Type Attributes Description
distanceValue number

Distance scalar.

distanceUnit string

Distance unit: See bit.ly/1yjZaiy

geoJsonArry Array.<number>

[lon, lat] to match GeoJson spec.

termPath string

document path to term containing location.

cache bool <optional>

Determine whether to cache the filter. Defaults to true.

Source:

Extends