diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2012-11-16 16:34:38 -0500 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2012-11-16 16:35:32 -0500 |
commit | b99e6577c58f774937f5f445bad498903a1601bd (patch) | |
tree | b9a122e9cdba37855420c14d742e5dc472f5430a /src | |
parent | 879fb0899b1d0f3530ee0f01364f5d808d8ef706 (diff) | |
download | mongo-b99e6577c58f774937f5f445bad498903a1601bd.tar.gz |
Revert "flip dedup on s2 searches to avoid dups"
This reverts commit e963c443d90f0909cba0ef5aa31fa0ce4d745d4a.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/geo/s2cursor.h | 2 | ||||
-rw-r--r-- | src/mongo/db/geo/s2nearcursor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/geo/s2cursor.h b/src/mongo/db/geo/s2cursor.h index f8a467e17f6..6d6cf267009 100644 --- a/src/mongo/db/geo/s2cursor.h +++ b/src/mongo/db/geo/s2cursor.h @@ -37,7 +37,7 @@ namespace mongo { virtual bool supportYields() { return true; } virtual bool supportGetMore() { return true; } virtual bool isMultiKey() const { return true; } - virtual bool autoDedup() const { return true; } + virtual bool autoDedup() const { return false; } virtual bool modifiedKeys() const { return true; } virtual bool getsetdup(DiskLoc loc) { return false; } virtual string toString() { return "S2Cursor"; } diff --git a/src/mongo/db/geo/s2nearcursor.h b/src/mongo/db/geo/s2nearcursor.h index e1f6f493b41..18a25740d1e 100644 --- a/src/mongo/db/geo/s2nearcursor.h +++ b/src/mongo/db/geo/s2nearcursor.h @@ -36,7 +36,7 @@ namespace mongo { virtual bool supportYields() { return true; } virtual bool supportGetMore() { return true; } virtual bool isMultiKey() const { return true; } - virtual bool autoDedup() const { return true; } + virtual bool autoDedup() const { return false; } virtual bool modifiedKeys() const { return true; } virtual bool getsetdup(DiskLoc loc) { return false; } virtual string toString() { return "S2NearCursor"; } |