summaryrefslogtreecommitdiff
path: root/src/mongo/db/index
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-06-08 08:22:16 -0400
committerJason Rassi <rassi@10gen.com>2015-06-08 08:22:16 -0400
commit0e2ba5e2b16b11038940350ca8676ebc1b99698b (patch)
tree617d8ab8c1e360ddcaca90ec9fe5d9145b92b263 /src/mongo/db/index
parent66f165639a514a3ca764bab87dea5e7b1af0825f (diff)
downloadmongo-0e2ba5e2b16b11038940350ca8676ebc1b99698b.tar.gz
Revert "SERVER-17660 Rename index option "filter" to "partialIndexExpression""
This reverts commit 66f165639a514a3ca764bab87dea5e7b1af0825f.
Diffstat (limited to 'src/mongo/db/index')
-rw-r--r--src/mongo/db/index/index_descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/index_descriptor.h b/src/mongo/db/index/index_descriptor.h
index 742e5a3ea16..48b460c1dcb 100644
--- a/src/mongo/db/index/index_descriptor.h
+++ b/src/mongo/db/index/index_descriptor.h
@@ -68,7 +68,7 @@ namespace mongo {
_isIdIndex(isIdIndexPattern( _keyPattern )),
_sparse(infoObj["sparse"].trueValue()),
_unique( _isIdIndex || infoObj["unique"].trueValue() ),
- _partial(!infoObj["partialFilterExpression"].eoo()),
+ _partial(!infoObj["filter"].eoo()),
_cachedEntry( NULL )
{
_indexNamespace = makeIndexNamespace( _parentNS, _indexName );