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

Fix sort and hint with $natural query shape

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-04-17, QO 2023-05-01
    • 69

      We will not be able to instantiate or parse into a SortPattern if the sort has $natural in it. On the regular command path, the sort gets turned into a hint if it contains "$natural". For telemetry, we should keep it as the sort but avoid failing to parse it as a FieldPath

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: