Deprecate GeoNear class and Criteria#max_scan methods

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • 9.1.0
    • Affects Version/s: None
    • Component/s: Dev Exp
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      PR: https://github.com/mongodb/mongoid/pull/5761

      This PR deprecates the following which don't work on work on MongoDB Server 4.2+:

      • GeoNear class (and its methods)
      • Criteria#max_scan

      Although Mongoid continues to support Server 3.6 and 4.0, we should deprecate these methods at this time so that is easy to remove them when the time comes to drop 3.6 / 4.0 support.

              Assignee:
              Unassigned
              Reporter:
              Johnny Shields
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: