summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/indexability.h
diff options
context:
space:
mode:
authorsamontea <merciers.merciers@gmail.com>2021-09-03 03:47:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-03 04:11:52 +0000
commit8073eb74318bc75a69a98491eebd647f9cde0f55 (patch)
treed59c76a75f55d06d6b42ae20338c8f475e3d9e60 /src/mongo/db/query/indexability.h
parentaec3ea814683689780a122a4b95c8b23794e59e7 (diff)
downloadmongo-8073eb74318bc75a69a98491eebd647f9cde0f55.tar.gz
SERVER-58371 Allow $_internalBucketGeoWithin to scan 'bucket-2dsphere' index
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 96930df7650..7e543da4a2d 100644
--- a/src/mongo/db/query/indexability.h
+++ b/src/mongo/db/query/indexability.h
@@ -173,6 +173,7 @@ private:
me->matchType() == MatchExpression::MATCH_IN ||
me->matchType() == MatchExpression::TYPE_OPERATOR ||
me->matchType() == MatchExpression::GEO ||
+ me->matchType() == MatchExpression::INTERNAL_BUCKET_GEO_WITHIN ||
me->matchType() == MatchExpression::GEO_NEAR ||
me->matchType() == MatchExpression::EXISTS ||
me->matchType() == MatchExpression::TEXT ||