abfragen habe ich dieses Dokument
{
"_id" : "8cbc4fdc79d5479c95deaab471d359bb",
"category" : "test",
"location" : {
"name" : "Café Café",
"coordinates" : {
"type" : "Point",
"coordinates" : [
34.788589,
32.0857813
]
}
}
}
Und diese Abfrage gibt 0 Datensätze auf CosmosDB, sondern auf realen mongoDB wie erwartet funktioniert mein
db.activities.find({'location.coordinates': { $near :{$geometry: { type: "Point", coordinates: [ 34.788589, 32.0857813 ] }}}})
Und '' $ geoNear'' scheint noch nicht unterstützt. –