use test
db.data.remove()
db.data.insert(
)
db.data.ensureIndex(
)
db.data.find({position:{$near:[1,1]}})
// -> ok
db.data.find({position:{$near:[1,1]}}).limit(1)
// -> error:
db.runCommand (
{ geoNear : "data" , near : [1,1], num : 2});
// -> ok
db.runCommand (
{ geoNear : "data" , near : [1,1], num : 1});
// -> "errmsg" : "exception: assertion db/geo/2d.cpp:290",