Until SERVER-24440 is fixed, points near the poles may fail to be returned by a $nearSphere when a "2d" index is used. We should change the pointIsOK() function in the geo_full.js test to only create points that have latitudes in [-89, 89].
if ((startPoint[1] + distDegrees > 90) || (startPoint[1] - distDegrees < -90)) { return false; }
- related to
-
SERVER-24440 Points near the poles may fail to be returned by $nearSphere with 2d index
- Backlog