Commit Graph

9 Commits

Author SHA1 Message Date
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
Kyle Suarez 7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Siyuan Zhou 7083b5d3ab SERVER-17486 Crash when parsing invalid polygon coordinates 2015-03-10 15:18:26 -04:00
Siyuan Zhou 76e7106f25 SERVER-17241 Verify number of loops of polygon 2015-02-11 16:34:40 -05:00
Siyuan Zhou 68fe6570d1 SERVER-16883 Geo Query $center with "NaN" coordinate does not error 2015-02-05 13:43:54 -05:00
Greg Studer 434f8fc1cf SERVER-15392 safely parse geoNear command limit as long value 2014-10-06 12:38:16 -04:00
Siyuan Zhou 8dd902ab53 SERVER-14984 Server aborts when running $centerSphere query with NaN radius 2014-08-22 14:27:06 -04:00
Greg Studer 7a0d83d88d SERVER-14350 validate distances for circular regions in $near/$within 2014-06-30 18:17:22 -04:00