Elastic Search Hibernate Connector


(dpilato) #1

Hi everybody,

You will find in es-hibernate-connector GitHub Repo a simple way to make a seam between Elastic Search and Hibernate... At this time, the project answer to my own needs.

But it's only a start. I will try to use OSEM annotation given by Alois in the next future.

Here is also a very light doc about how it works...

Any remark or advice will be appreciated.

Cheers
David.


(Shay Banon) #2

Great work!. I am behind things a bit (trying to get 0.16 out), but will check the OSEM code once I am done.
On Saturday, April 2, 2011 at 1:25 AM, dpilato wrote:

Hi everybody,

You will find in https://github.com/dadoonet/es-hibernate-connector
es-hibernate-connector GitHub Repo a simple way to make a seam between
Elastic Search and Hibernate... At this time, the project answer to my own
needs.

But it's only a start. I will try to use OSEM annotation given by
https://github.com/aloiscochard/elasticsearch Alois in the next future.

Here is also a https://github.com/dadoonet/es-hibernate-connector/wiki very
light doc about how it works...

Any remark or advice will be appreciated.

Cheers
David.

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p2765329.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(gearond) #3

I would love to see OSEM written for ElasticSearch.


(Shay Banon) #4

Agreed! :slight_smile:

On Fri, Mar 16, 2012 at 3:14 AM, gearond gearond@sbcglobal.net wrote:

I would love to see OSEM written for ElasticSearch.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Dennis) #5

I have paid to have the following classes built, with exceptions, unit
tests, etc.

osemManagerFactory
osemManager
someDriveClassForElasticSearch

The concept is modeled after JPA/Hibernate, with an external configuration
file called 'osem.json' in the same place as the persistence.xml file.

Each of the CRUD (Create Read blah) methods of the 'osemManager' have pre
and post callbacks so if someone wanted to implement some amount of ACID
using an osem store, then they could. Contributions/forking/improvements
are welcome.

It should be about 1-2 weeks before it is ready to post.

I will have it set up on sonotype in a mvn repository as soon as it gets
done. If kimchy/Shay would help me with the repository part, that would
save maybe a week.
On Saturday, March 17, 2012 4:56:48 AM UTC-5, kimchy wrote

Agreed! :slight_smile:

On Fri, Mar 16, 2012 at 3:14 AM, gearond wrote:

I would love to see OSEM written for ElasticSearch.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Dennis) #6

Well, it's done,works, but it's not ....... professional, that's the best
word. Its at https://github.com/kwince/osemManager

It did not get set up to have other search engines or BigData stores
allowed behind it.

Comments or improvements are much welcome.

I would like very much for it have javadocs, have a driver class, easy to
use/find where the ES service that it uses is, etc.

On Monday, April 30, 2012 7:56:30 PM UTC-7, Dennis wrote:

I have paid to have the following classes built, with exceptions, unit
tests, etc.

osemManagerFactory
osemManager
someDriveClassForElasticSearch

The concept is modeled after JPA/Hibernate, with an external configuration
file called 'osem.json' in the same place as the persistence.xml file.

Each of the CRUD (Create Read blah) methods of the 'osemManager' have pre
and post callbacks so if someone wanted to implement some amount of ACID
using an osem store, then they could. Contributions/forking/improvements
are welcome.

It should be about 1-2 weeks before it is ready to post.

I will have it set up on sonotype in a mvn repository as soon as it gets
done. If kimchy/Shay would help me with the repository part, that would
save maybe a week.
On Saturday, March 17, 2012 4:56:48 AM UTC-5, kimchy wrote

Agreed! :slight_smile:

On Fri, Mar 16, 2012 at 3:14 AM, gearond wrote:

I would love to see OSEM written for ElasticSearch.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #7