-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Minor Change
-
ALL
-
v4.4, v4.2, v4.0, v3.6
-
-
Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query Execution 2021-02-22, Query Execution 2021-03-08
-
(copied to CRM)
-
50
See the linked script in HELP-20040. Essentially, when performing an aggregation using a $geoNear stage of the form:
{ $geoNear: { near: { type: "Point", coordinates: <coordinate> }, maxDistance: 0, spherical: true }
where 'coordinate' is a lat-long coordinate that exists in some document in the collection being aggregated, the $geoNear stage will not always match the given coordinate.