mstein / elasticsearch-grails-plugin

ElasticSearch grails plugin
Based on Graeme Rocher initial stub. Note that it is still in early stage.
Other
62 stars 164 forks source link

Using the plugin as a replacement of default GORM #48

Closed ginaluca closed 11 years ago

ginaluca commented 11 years ago

Hi,

I understand that this plugin works aside the Hibernate GORM, by indexing what is persisted to DB.

I'm interested in scenarios where elastic search is the only datastore used by the application, without any DB involved. What would it be the effort of adapting elasticsearch-grails-plugin in that sense? Rewriting some classes, or adding big parts of new code, or..?

Gianluca

mstein commented 11 years ago

To use it as a "complete replacement" to GORM, there would be a lot of new code to add (as the plugin is not an implementation to grails-datastore). The first thing to do would be to dissociate the plugin from Hibernate I guess.

ginaluca commented 11 years ago

OK, and after removing Hibernate I might use one of the plugins in grails-data-mapping as a model for how to continue. Interesting idea for a fork.

Thanks, Gianluca