feliperazeek / playframework-elasticsearch

Integrate Elastic Search in a Play! Framework Application. This module uses JPA events to notify Elastic Search of events of their own. It embeds a running Elastic Search instance for Rapid Development.
http://geeks.aretotally.in/play-framework-module-elastic-search-distributed-searching-with-json-http-rest-or-java
84 stars 43 forks source link

Make index event JPA independent #13

Closed spinscale closed 13 years ago

spinscale commented 13 years ago

Hey Felipe,

As I would like to use the plugin with mongodb it must be JPA independent. This is pretty easy, due to not only listening on events beginning with "JPASupport" but checking its ending.

Small change, big impact, as I can change the morphia module then :-)

--Alexander

ccidral commented 13 years ago

My kudos to you sir! I just opened an issue regarding non-JPA support without knowing about your patch. Seems like my problem is solved. Thanks a lot.