Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1057

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: 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:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: