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

Fix sort and hint with $natural query shape

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0
    • None
    • None
    • Fully Compatible
    • QO 2023-04-17, QO 2023-05-01
    • 69

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: