diff options
author | Greg Studer <greg@10gen.com> | 2014-06-17 19:22:05 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2014-07-09 07:36:48 -0400 |
commit | 3c5246b1fb2ec2f9c34ba1cb5083b2745d7bdf89 (patch) | |
tree | 088174498bb033730c280f8121a2f6bd9d80b40e /src/mongo/db/query/query_solution.cpp | |
parent | a76bfecf5bb7a173d2c79f4877fe07a6b0bf1f80 (diff) | |
download | mongo-3c5246b1fb2ec2f9c34ba1cb5083b2745d7bdf89.tar.gz |
SERVER-9986 refactor near search for 2D and S2
Adds progressive search functionality for $geoNear operations,
allowing better integration with other cursors.
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r-- | src/mongo/db/query/query_solution.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp index e3fef1dead7..bcdc7d00a12 100644 --- a/src/mongo/db/query/query_solution.cpp +++ b/src/mongo/db/query/query_solution.cpp @@ -708,7 +708,8 @@ namespace mongo { copy->_sorts = this->_sorts; copy->nq = this->nq; - copy->numWanted = this->numWanted; + copy->baseBounds = this->baseBounds; + copy->numToReturn = this->numToReturn; copy->indexKeyPattern = this->indexKeyPattern; copy->addPointMeta = this->addPointMeta; copy->addDistMeta = this->addDistMeta; |