One thing I understood is that, in order to use geoNear, I need to add a location based index, is that right? In MongoDB documentation that's what is happening, before to create the docs, the collection index is set with:
I'm glad you were able to find this one on your own, please feel free to reach out if you get stuck in the future.
about 6 years ago
Okkeyyyyy, the answer was easier than I thought, I have been trying for 1h before without finding it, now I found it immediately, I just had to look somewhere else.
On the [Kinvey Location guide](http://devcenter.kinvey.com/rest/guides/location "Kinvey Location guide") is written "With Kinvey all you need to do to your object is add a field with name _geoloc with a [lon,lat] value."