Closed Evoolo closed 11 months ago
Hello,
ODM is currently not supported.
Sorry, that README
states otherwise :disappointed: cc @brunoocasali why is 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, then this will open door for simple integration with ODM
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. However, I can find some references to Mongo in the source code.
I will push a PR to remove that statement ;)
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 withWhile 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):