News for hackers. Stuff that matters.
Re:Serious Bug in MongoDB Geospatial distance calculation by Joel_Mckay on Thursday May 19, 2022 @08:46AM (#31433877)
This may look odd on first contact, but it is clearly documented: https://www.mongodb.com/docs/manual/geospatial-queries/

MongoDB uses libbson which should clearly preserve the type in the queries. If the client library wrapper goofs the syntax it is not related to the server core.

Try looking at the raw record in the db shell... ;-)

Re:Serious Bug in MongoDB Geospatial distance calculation by threeseed on Thursday May 19, 2022 @09:18AM (#31434252)
It looks like a bug specifically in the Go driver and has already been reported: GODRIVER-2429
Re:Serious Bug in MongoDB Geospatial distance calculation by mushi on Thursday May 19, 2022 @09:59AM (#31434750)
there seems to be no details in the report - without seeing code can't be sure if it's a bug in the driver or the application code ...