Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 761 Bytes

File metadata and controls

25 lines (14 loc) · 761 Bytes

GeoDistance

Object to perform geo-distance based filtering on queries

Properties

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

Enum: DistanceTypeEnum

Name Value
ADAPTIVE "adaptive"
HAVERSINE "haversine"