unify index suitability code

XMLWordPrintableJSON

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

      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
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: