-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Atlas Testing
-
None
For downstream library, it's useful to be able to detect if an error is due to the lack of support of MongoDB Atlas Search
In Doctrine : https://github.com/doctrine/mongodb-odm/pull/2787
The basic idea is to move this function to PHPLIB, so that we have to maintain it only in one place, and it can be used by other projects.
But the underlying issue is that we cannot reliably detect if Search indexes are supported. And even if we expose some feature flags in the server info, this will not be available for older MongoDB Server versions with Search support.