GeoDistance huge number

When I want the rankingInfo in the results by passing getRankingInfo, the objects with no _geoloc property have a geoDistance of 18446744073709552000.

Wouldn’t it be better to set it to null or 0?

Hi,
We have sent your feedback to the API team. Meanwhile, can you tell us if you are having any troubles with this returned result? If you are, maybe we can help you out more specifically.

Peter

Hi Peter, thanks for your reply.

Yes I did have trouble because I am using the stock REST API instead of an existing client (because of the architecture of my project).

I was parsing the geoDistance as an Integer, I had to switch to a larger type and handle the special case.

Anyway it works now, I just wanted to let you know :slightly_smiling_face: