Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4485

unify index suitability code

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: