Skip to content
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

Can't use ES with non-JPA datasource #14

Open
ccidral opened this issue Aug 28, 2011 · 2 comments
Open

Can't use ES with non-JPA datasource #14

ccidral opened this issue Aug 28, 2011 · 2 comments

Comments

@ccidral
Copy link

ccidral commented Aug 28, 2011

I tried to use the elasticsearch module together with the morphia (mongodb) module but it did not work. Then while reading the docs I found out that it only works with JPA actually. It would be awesome if this module did work with non-JPA datasources as well since mongodb (and other NoSQL dbs) has been gaining some serious ground recently.

By the way, thanks for sharing this awesome module. Keep up the great work!

@ccidral
Copy link
Author

ccidral commented Aug 29, 2011

Seems like this issue was resolved at b7c7060 right?

@bgooren
Copy link
Contributor

bgooren commented Sep 5, 2011

A quick look at the sourcecode of the morphia module shows that it does not post events; Those are required for this module to know when to update the index.

While adding events for adding and updating objects is rather trivial, this is not the case for update- and delete-queries. The affected objects also need to be updated or removed from the elastic search index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants