2
为什么$ nearsphere查询总是返回100个结果?MongoDB nearSphere只返回100个结果?
db.mytable.find({"geo":{"$nearSphere":[41.393552,2.171344999999974],"$maxDistance":0.007}}).limit(500).count() -->>> 100 results
无论$ maxdistance的值如何,我的表格都有超过30,000条记录。
是否有任何其他解决方案来执行此操作? – larrytron
此处讨论一种解决方法:https://groups.google.com/forum/?fromgroups=#!topic/mongomapper/MfRDh2vtCFg –