== Deprecation Notice
The ElasticSearch Grails plugin has a new maintainer!
Please browse to Puneet Behl fork for new updates for the plugin source code: https://github.com/grails-plugins/elasticsearch-grails-plugin
Among the main new features of this version is the ability to use any gorm-datastore with the plugin, so you are no longer bound to the hibernate plugin.
If you were using the 0.17.x version of the original plugin, or one of the 0.20.x snapshots, you should consider upgrading to the latest version.
This repository will no longer be updated but will stay online for a while for archive purpose.
Thanks to all the contributors and users of the original plugin!
== Original Readme Below
=== Elasticsearch Grails plugin
An Elasticsearch plugin for Grails; This project is a fork based on the great work done by the guys at https://github.com/noamt/elasticsearch-grails-plugin & https://github.com/mstein/elasticsearch-grails-plugin.
=== Why would you want to fork the original Elasticsearch plugin?
The original Elasticsearch plugin relies on Hibernate-specific GORM components, thus rendering it unusable if you back your Grails application by any other database.
=== How can I obtain the plugin?
image:https://travis-ci.org/puneetbehl/elasticsearch-grails-plugin.svg?branch=master["Build Status", link="https://travis-ci.org/puneetbehl/elasticsearch-grails-plugin"]
Just like any other Grails plugin, through the Grails Plugin center. Edit your project's +build.gradle+ file, by adding the plugin's dependency declaration:
dependencies { ... compile "org.grails.plugins:elasticsearch:2.4.0" ...
=== Versioning
|=== |Plugin Version | Grails Version | Elasticsearch Version
|2.4.0 |3.1.y |5.4.1
|1.4.1 |3.1.y |5.4.1
|1.2.1 |3.2.y |2.3.z
|1.2.0 |3.1.y |2.3.z
|1.0.0.x |3.1.y |1.6.z
|0.1.0.x |2.y |2.1.z
|0.0.4.x |2.y |1.6.z |===
=== Ohs Nos! I'm hitting a +java.lang.Exception: No datastore implementation specified+
Where the value should be the name of the datastore bean as it is configured in the Spring context; some possible values:
MongoDB:: +mongoDatastore+ Hibernate:: +hibernateDatastore+
== License
Copyright 2014 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
_,,,_
.-'` ( '.
.-' ,_ ; \___ _,
__.' ) \'.__.'(:;'.__.'/
__..--"" ( '.__{':');}__.'
.' ( ; ( .-|` ' |-.
/ ( ) ) '-p q-'
( ; ; ; ; |.---.|
) ( ( ; \ o o)
| ) ; | ) ) /'.__/
) ; ) ; | ; //
( ) _,\ ; //
; ( ,_,,-~""~`"" \ ( //
\_.'\\_ '. /<_
\\_)--\ \ \--\
)--\"
""
""