Can any expert indicate the best ways to search in geospatial using the official C # driver in MongoDB. The best constructor of objects (strings / doubles), build an index, find next. Many thanks for your help.
db.places.ensureIndex( { loc : "2d" } , { min : -500 , max : 500 } ), db.places.find( { loc : { $near : [50,50] , $maxDistance : 5 } } ).limit(20),
c # mongodb mongodb-.net-driver
user325558
source share