-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search Without RDBMS
PostPosted: Sat Jul 09, 2011 7:01 am 
Newbie

Joined: Tue Sep 23, 2003 7:02 am
Posts: 16
Is it possible to just use Hibernate Search (Lucene) without also persisting the object model to a relational database?

I want what Hibernate Search gives me without the relational database overhead.

Thanks Lee


Top
 Profile  
 
 Post subject: Re: Hibernate Search Without RDBMS
PostPosted: Sun Jul 10, 2011 12:55 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hello,
yes there are some alternatives, Search is being reused as pluggable search engine in other systems than Hibernate Core.
Two alternatives:

* Infinispan Query
Uses Infinispan to store the Java objects, you annotate these objects with the same annotations of Hibernate Search and it will generate the same indexes and provide you the same query capabilities.
Please read more here: https://docs.jboss.org/author/display/I ... Infinispan

* Hibernate OGM
Hibernate OGM enables you to use a JPA interface - including Hibernate Search - on top of a NoSQL store. It's currently a young project and only two Alpha releases where published, but help is welcome. We presented a live demo using it which as pretty cool:
http://www.jboss.org/jbw2011keynote
I'd suggest reading more on my last blog post: http://in.relation.to/Bloggers/WhatYouD ... eynoteDemo

Currently OGM supports only Infinispan, so the two solutions are pretty similar unless you're interested in using the JPA interface.
Hope these pointers where useful, maybe if you could be more specific on how you plan to store your data I can give you some better hints.
Also you could have a look at how Infinispan Query embeds Hibernate Search: it's a pretty small codebase, just a bunch of adapting classes and configuration setup, I guess you could reuse the same approach to integrate Hibernate Search in anything else you might need.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.