Wherever distances need to be specified, such as the distance parameter in the Geo Distance Filter), the default unit if none is specified is the meter. Distances can be specified in other units, such as "1km" or "2mi" (2 miles).


mi or milesMile
yd or yardsYard
ft or feetFeet
in or inchInch
km or kilometersKilometer
m or metersMeter
cm or centimetersCentimeter
mm or millimetersMillimeter
NM, nmi or nauticalmilesNautical mile

The precision parameter in the Geohash Cell Filter accepts distances with the above units, but if no unit is specified, then the precision is interpreted as the length of the geohash.

See also