-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: API
-
None
com.mongodb.client.model Indexes (1 usage found) geoHaystack(String, Bson) IndexOptions getBucketSize() bucketSize(Double)
MongoDB 5.0 removes the deprecated geoHaystack index and geoSearch command. Use a 2d index with $geoNear or one of the supported geospatial query operators instead.
Given that MongoDB 4.4 (the release before 5.0) is EOL in early 2024, these methods can be removed in the 5.0 driver.