i am trying to do sth like this
db.points.ensureIndex( { <location field> : "2dsphere" } )
http://docs.mongodb.org/manual/core/2dsphere/
via C# driver. but the API looks like only take the "key" as parameter, no way to specify the type
http://api.mongodb.org/csharp/current/html/3871579f-5b7c-1d9f-e66d-2403c9280e80.htm
any idea how can o do it via driver?
thanks