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.
- is related to
-
PHPLIB-1055 Various documentation fixes related to command() helper
- Closed
- related to
-
PHPLIB-1512 Remove IndexInfo::isGeoHaystack() method
- Closed