Investigate changes in SERVER-75557: Allow minDistance and maxDistance parameters in $geoNear pipeline stage to take expressions

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Done
    • Priority: Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Hide

      No action required from DevTools.

      Show
      No action required from DevTools.

      Original Downstream Change Summary

      The aggregation stage $geoNear now allows the 'minDistance' and 'maxDistance' arguments to be constant expressions that evaluate to a number (previously only a double was allowed).

      Description of Linked Ticket

      The minDistance and maxDistance parameters are only allowed to be a constant numbers right now. We can loosen the restriction to allow any expression as long as they evaluate to a number

      https://www.mongodb.com/docs/manual/reference/operator/aggregation/geoNear/

              Assignee:
              Unassigned
              Reporter:
              Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: