We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inability to list indexes is not properly detected anymore by the following lines of code:
https://github.com/doctrine/mongodb-odm/blob/2.8.1/lib/Doctrine/ODM/MongoDB/SchemaManager.php#L1060-L1063
With MongoDB 7.0.14, the error message is $listSearchIndexes stage is only allowed on MongoDB Atlas.
7.0.14
$listSearchIndexes stage is only allowed on MongoDB Atlas
It does not contain Search index, so it's not recognized as unsupported command.
Search index
As such, the odm:schema:update command fails, even when there are no search indexes defined.
odm:schema:update
Run the odm:schema:update command.
The odm:schema:update does not fail when there are no search indexes defined.
The text was updated successfully, but these errors were encountered:
Fixed in #2673.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
Summary
Inability to list indexes is not properly detected anymore by the following lines of code:
https://github.com/doctrine/mongodb-odm/blob/2.8.1/lib/Doctrine/ODM/MongoDB/SchemaManager.php#L1060-L1063
Current behavior
With MongoDB
7.0.14
, the error message is$listSearchIndexes stage is only allowed on MongoDB Atlas
.It does not contain
Search index
, so it's not recognized as unsupported command.As such, the
odm:schema:update
command fails, even when there are no search indexes defined.How to reproduce
Run the
odm:schema:update
command.Expected behavior
The
odm:schema:update
does not fail when there are no search indexes defined.The text was updated successfully, but these errors were encountered: