From d74720487db590a1ff1b39296601806e8d0067d5 Mon Sep 17 00:00:00 2001 From: Max Hirschhorn Date: Tue, 19 Apr 2016 11:06:33 -0400 Subject: SERVER-23112 Assign predicates to 2dsphere indexes using multikey paths. The metadata in the IndexEntry struct indicates what prefixes of the indexed fields cause the index to be multikey. This information is used to get tighter bounds by assigning additional predicates to the index. --- src/mongo/db/query/query_planner_test_fixture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/query/query_planner_test_fixture.h') diff --git a/src/mongo/db/query/query_planner_test_fixture.h b/src/mongo/db/query/query_planner_test_fixture.h index c6e2e824337..5ef2490e171 100644 --- a/src/mongo/db/query/query_planner_test_fixture.h +++ b/src/mongo/db/query/query_planner_test_fixture.h @@ -61,7 +61,7 @@ protected: void addIndex(BSONObj keyPattern, MatchExpression* filterExpr); - void addIndex(BSONObj keyPattern, MultikeyPaths multikeyPaths); + void addIndex(BSONObj keyPattern, const MultikeyPaths& multikeyPaths); void addIndex(BSONObj keyPattern, CollatorInterface* collator); -- cgit v1.2.1