Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
2.6.7
-
None
-
Query Optimization
-
(copied to CRM)
Description
Assume that I have a $or query as below:
{$or : [ {query1}, {query2} ] }
|
And the index filters are configured for query1 and query2 separately.
Currently the query engine doesn't use the index filters for these sub-queries in the $or clauses, but rather looks for an index filter set on the entire query shape. It would be nice if the $or clause shapes use the index filters for them individually, so that we can "hint" the indexes for each clause separately.
Attachments
Issue Links
- related to
-
SERVER-1649 Allows hints when multiple indexes are used
-
- Backlog
-