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

Fully bake SortPattern into the query planner

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Query Optimization

      Follow up to SERVER-43630.

      This ticket is about replacing the remaining usages of .getSort() with .getSortPattern() in the query planner. This might involve additional work around 1. possibly keeping track of $natural within the sort pattern and 2. extending infra around SortPattern to match prefixes and invert scan orders as necessary.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: