Commit Graph

12 Commits

Author SHA1 Message Date
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
Tess Avitabile f98cb60d80 SERVER-1981 Support near and nearSphere predicates on sharded collections 2017-12-28 11:01:26 -05:00
Eddie Louie 9fc1ecd711 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a.
2017-03-23 14:07:50 -04:00
Randolph Tan fb956b3b0a Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d1.

Conflicts:
	buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Eddie Louie 56e66454d1 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
in sharded cluster environments.
2017-03-15 19:19:49 -04:00
Mark Benvenuto 6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy 3bed8596d1 SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts:
	jstests/core/count_hint.js
2016-02-09 13:41:02 -05:00
Jonathan Abrahams 42161c2622 SERVER-20519 Set random seed, assert if seed not set and random function is invoked. 2015-12-31 10:22:29 -05:00
Matt Kangas 565f050f41 SERVER-12128 Inconsistent earth radius used in tests
Resolves #580
2015-03-23 17:08:31 -04:00
Randolph Tan a08c9f4ee6 SERVER-13028 fix shell to use createIndex command for createIndex method 2014-03-13 15:58:06 -04:00
Randolph Tan 5595b94560 SERVER-12127 migrate js tests to jscore suite when not related to writes
Moved test jstest/[a-i].js -> jstests/core/ and made changes to comply with write command api
2014-02-28 16:26:33 -05:00