diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2014-07-30 19:04:52 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2014-08-06 14:09:00 -0400 |
commit | 0909916a337366eb316386ced7ee6c2ade86a89c (patch) | |
tree | a2abd4f129549f27976a516c4c96df4daf399fdc /src/mongo/db/exec/near.h | |
parent | 5aa26641648876ee10dcfc8ff7256dd46efc8b9c (diff) | |
download | mongo-0909916a337366eb316386ced7ee6c2ade86a89c.tar.gz |
SERVER-14515 Remove default limit from geoNear operations
Diffstat (limited to 'src/mongo/db/exec/near.h')
-rw-r--r-- | src/mongo/db/exec/near.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/exec/near.h b/src/mongo/db/exec/near.h index 5271f552257..dd0dcdaf721 100644 --- a/src/mongo/db/exec/near.h +++ b/src/mongo/db/exec/near.h @@ -80,12 +80,6 @@ namespace mongo { virtual ~NearStage(); - /** - * Sets a limit on the total number of results this stage will return. - * Not required. - */ - void setLimit(int limit); - virtual bool isEOF(); virtual StageState work(WorkingSetID* out); @@ -181,10 +175,6 @@ namespace mongo { struct SearchResult; std::priority_queue<SearchResult> _resultBuffer; - // Tracking for the number of results we should return - int _limit; - int _totalReturned; - // Stats scoped_ptr<PlanStageStats> _stats; }; |