[SERVER-67639] Verify $indexStats works for queries that are eligible for cqf Created: 29/Jun/22  Updated: 09/May/23

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

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz 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   

$indexStats tells you how many times each index was used in a query. We need to make sure queries generated by Bonsai are included in these counts. (We don't need to support the $indexStats operator itself.)

This may be working already; I'm not sure. With CQF enabled this assertion fails, but that could be because Bonsai is choosing a different plan which doesn't use the expected index.


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