-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
We silently allow $geoNear as an alias for $near in the find language but this is not documented anywhere. $geoNear is only documented as an aggregation stage.
We should consider deprecating the alias and adding a rarely-logged warning. See comments for full original Slack thread.
Before doing so, we should spend some time understanding why this alias was originally allowed, and investigate if $geoNear is also allowed as an alias for the find language's $nearSphere (using $geoNear with spherical: true).
- related to
-
SERVER-92501 #query-integration: Slack thread capture
- Closed