summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_descriptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_descriptor.cpp')
-rw-r--r--src/mongo/db/index/index_descriptor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index/index_descriptor.cpp b/src/mongo/db/index/index_descriptor.cpp
index 05e2994008b..523b778163d 100644
--- a/src/mongo/db/index/index_descriptor.cpp
+++ b/src/mongo/db/index/index_descriptor.cpp
@@ -47,7 +47,9 @@ namespace mongo {
if ( fieldName == "key" ||
fieldName == "ns" ||
fieldName == "name" ||
- fieldName == "v" ||
+ fieldName == "v" || // not considered for equivalence
+ fieldName == "textIndexVersion" || // same as "v"
+ fieldName == "2dsphereIndexVersion" || // same as "v"
fieldName == "background" || // this is a creation time option only
fieldName == "dropDups" || // this is now ignored
fieldName == "sparse" || // checked specially