-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0.3, 3.2.0
-
Component/s: Geo
-
None
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
I use 2-d index to match in player collection as follows
db.player.find({'match_lv':{'$near':[1,0]}}).count();
However, in mongodb 3.2, it return all documents not 100 document by default.
Btw, in mongodb 2.6, it return 100 document indeed and in mongodb3.0, it return all documents
I guess there is something wrong in mongdb 3.0 and mongodb 3.2 in 2-d index, because it conflict with manual