I’m using couchbase server EE 7.6 and I have a scenario where I need to get documents based on a distance from a certain point (Geopoint distance query) and show that list to the user WITH the distances.
I’ve managed to do the query but I cannot find anywhere in the documentation how to retrieve the actual distance… I mean, if couchbase is sorting it based on the distance it must have that value somewhere, right? How do I retrieve it?
The only articles I’ve found were using haversine formula themselves to do it.
@vsr1@abhinav I see, I’m guessing there’s no way do decode that info then… I’ll calculate that distance myself . It is weird though that is not available.