We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4943a commit a72450cCopy full SHA for a72450c
lib/Doctrine/ODM/MongoDB/SchemaManager.php
@@ -1061,6 +1061,8 @@ private function isSearchIndexCommandException(CommandException $e): bool
1061
if ($e->getCode() === self::CODE_COMMAND_NOT_SUPPORTED && str_contains($e->getMessage(), 'Search index')) {
1062
return true;
1063
}
1064
+
1065
+ // MongoDB 6.0.7+ and 7.0+: "$listSearchIndexes stage is only allowed on MongoDB Atlas"
1066
if ($e->getMessage() === '$listSearchIndexes stage is only allowed on MongoDB Atlas') {
1067
1068
0 commit comments