Similar to SERVER-60607 and SERVER-56676, in order to handle large values, we can use BSONElement::safeNumberInt or BSONElement::safeNumberLong when checking the version of a text index.
- related to
-
SERVER-60607 improve handling of large/NaN values for geo index version
- Closed
-
SERVER-56676 improve handling of large/NaN values for expireAfterSeconds TTL index option
- Closed