i'm trying run existing application with a new AWS DocumentDB service. From mongo shell i tried to run
db.geojson.createIndex( { geoData : "2dsphere" , sessionId:1 } )
and received
{ "ok" : 0, "errmsg" : "Index type not supported : 2dsphere", "code" : 303 }
this code works well with actual MongoDb instance, but not with new AWS service, which supposed to be compatible with MongoDB 3.6