Object to perform geo-distance based filtering on queries
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] |
Name | Value |
---|---|
ADAPTIVE | "adaptive" |
HAVERSINE | "haversine" |