-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.3.2
-
Component/s: Geo
-
None
-
ALL
Working with ny openstreetview data (can be found in mongo-snippets/2dsphere/data) which results in 366440 entries.
When doing a db.ny.find().count(), it returns instantly.
If I do a db.ny.find({geo: {$near: {$geometry: {type: "Point", coordinates [any lng, lat ]}}}}).count()
it hangs for a long time, and eats all of my memory.