I'm working with the Azure Search API in Postman. I have a query where I can return fields within a specified radius and it returns them in order from the nearest.
Is there a way to have a field that displays the actual distance. Eg if a place is 5.5km away that returns as a field.
This is my POST request
https://.search.windows.net/indexes/general-practitioner-practice//docs/search?api-version=2020-06-30&search=&filter=geo.distance(geo_location, geography'POINT(1111, 1111)') le 4,&select=*&count=true
This is my body
{
"search": "",
"filter": "geo.distance(Location, geography'POINT(1111, 1111)') le 4",
"select": "*",
"count": "true"
}