-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
Import of Mongo ODM entities fails #311
Comments
Hello, ODM is currently not supported. Sorry, that |
Okay thank you for the clarification. I will inspect all classes and do some PRs if I can manage to get it work. |
This needs more refactor than it looks - we need to support indexing any data, for example like requested in #302, |
Hi @norkunas, that statement in the README comes from the initial commit made by the original author of this library, but indeed I don't think we support ODM today. I will push a PR to remove that statement ;) |
312: Remove ODM support from README r=brunoocasali a=brunoocasali Related to #311 `@norkunas` feel free to merge when you review ;) Co-authored-by: Bruno Casali <[email protected]>
Description
I added some entities to my meilisearch config and then run
php bin/console meilisearch:import
.All MySQL entities are getting imported correctly. As soon as I reach the first mongo-odm entity, it fails with
While this package loads only the Doctrine\Persistence\ManagerRegistry wich can not be used for mongo-aod, I think this package is not compatible with the mongo-odm implementation.
Also when I try to persist a new entity, I get this error:
Expected behavior
creating a search index for all entities
Current behavior
only creates an index for MySQL entities and throws an error on mongo-odm entities
Screenshots or Logs
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: