一個2dsphere指數我試圖通過C#驅動做某事這樣如何創建通過C#驅動
db.points.ensureIndex({ <location field> : "2dsphere" })
http://docs.mongodb.org/manual/core/2dsphere/
。但API貌似只有把「鑰匙」作爲參數,沒有辦法指定類型
http://api.mongodb.org/csharp/current/html/3871579f-5b7c-1d9f-e66d-2403c9280e80.htm
任何想法如何澳經司機做呢?
感謝