summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/indexability.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/indexability.h')
-rw-r--r--src/mongo/db/query/indexability.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/query/indexability.h b/src/mongo/db/query/indexability.h
index 6f25bda0469..0085e05e5a2 100644
--- a/src/mongo/db/query/indexability.h
+++ b/src/mongo/db/query/indexability.h
@@ -61,6 +61,7 @@ namespace mongo {
|| me->matchType() == MatchExpression::TYPE_OPERATOR
|| me->matchType() == MatchExpression::GEO
|| me->matchType() == MatchExpression::GEO_NEAR
+ || me->matchType() == MatchExpression::EXISTS
|| me->matchType() == MatchExpression::TEXT;
}