Deprecate IndexInfo::isGeoHaystack() and note that geoHaystack was removed in MongoDB 5.0+

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      geoHaystack indexes were removed in MongoDB 5.0.

      We can likely deprecate this method today, as it'd be a most likely candidate for removal in the next major version of the library. At the very least, the docs page for this method should note that the index has been removed from MongoDB 5.0. The current example code suggests it's possible to create the index and would surely fail if run on a newer server version.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: