Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 762 Bytes

GeoDistance.md

File metadata and controls

26 lines (14 loc) · 762 Bytes

GeoDistance

Object to perform geo-distance based filtering on queries

Properties

Name Type Description Notes
locationAnchor GeoDistanceLocationAnchor [optional]
locationSource Object Field name in the document that contains location data [optional]
distanceType DistanceTypeEnum Algorithm used to calculate the distance [optional]
distance Object The distance from the anchor point to filter results by [optional]

Enum: DistanceTypeEnum

Name Value
ADAPTIVE "adaptive"
HAVERSINE "haversine"