[SERVER-4485] unify index suitability code Created: 13/Dec/11  Updated: 10/Dec/14  Resolved: 15/Nov/13

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

Type: Improvement Priority: Major - P3
Reporter: Aaron Staple Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: query_triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-10471 develop query planner Closed
Related
is related to SERVER-10026 New query system Closed
is related to SERVER-8791 Create a uniform index API across all... Closed
Participants:

 Description   

Right now we have some older code for characterizing index suitability for standard btree indexes in the query optimizer, and some newer code in IndexSpec/IndexType implementations for btree and geo indexes. For btree indexes the IndexSpec code tends to be a quick estimate of the suitability while the query optimizer itself provides a definitive determination of suitability. It might be nice to unify these implementations under the IndesSpec/IndexType interface (or some other index interface), for clarity, and so there is less special purpose code for specific index types in the query optimizer.


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