连接mongodb,查询地理位置的问题
com.mongodb.MongoException: can't find any special indices: 2d (needs index), 2dsphere (needs index), for: { position: { $nearSphere: [ 120.344944, 36.067463 ] } } at com.mongodb.QueryResultIterato...
巴扎黑 2017-04-25 09:03:38 0 3 537