[SERVER-71058] Investigate if we can cover array queries on non-multikey index Created: 03/Nov/22  Updated: 05/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alya Berciu Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

If we have a query of the form

{a: [1, 2, 3]}

when we have a non-multikey index, we should never return any documents. We should investigate if we can trust an INDEX_SCAN to evaluate this case without a fetch/filter.


Generated at Thu Feb 08 06:17:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.