-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
The documentation for aggregation $geoNear (link 1. below) should specify that the near field matches GeoJSON type objects as well as legacy coordinate pairs, just as the geoNear command near field does (link 2. below).
1. http://docs.mongodb.org/manual/reference/aggregation/geoNear/
2. http://docs.mongodb.org/manual/reference/command/geoNear/