-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate search (index pojos) without a database
PostPosted: Sat Nov 14, 2009 11:26 pm 
Newbie

Joined: Sat Nov 14, 2009 11:21 pm
Posts: 1
Hi,
I have the need to index POJOs easily in lucene, however the POJO's do NOT need to be stored in a traditional database fronted by hibernate.

Rather than coding my own custom indexer using Lucene, I would love to just be able to use Hibernate Search's lucene annotations so I can just dump a POJO off to hibernate search to be indexed (and likewise searched for later).

However when reading the docs it seems that hibernate search is tied to the core which wants to manage the pojo in a hibernate managed database.

Can I use Hibernate Search just for the indexing/search functionality without having hibernate talk to a RDBMS?

thanks!


Top
 Profile  
 
 Post subject: Re: Hibernate search (index pojos) without a database
PostPosted: Mon Nov 16, 2009 8:52 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi borfnodol,
right, currently Hibernate Search is tied to Hibernate core. There are intentions to de-glue them, and code is improving in that direction but there's still much work to do.

You might give a look into JBoss Cache Searchable: http://www.jboss.org/community/wiki/JBo ... Searchable
In this project the Hibernate Search mapping and backend was readapted to index objects stored in the JBoss Cache.

Alternatively you could fix the sources, but that would need a fair amount of work. Patches are welcome and if you show up on the developer mailing list you'll get all needed directions.

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


Top
 Profile  
 
 Post subject: Re: Hibernate search (index pojos) without a database
PostPosted: Thu Jan 28, 2010 4:54 pm 
Beginner
Beginner

Joined: Fri Jun 29, 2007 2:19 pm
Posts: 26
Location: Fremont, CA
borfnodol: Did you find any suitable solution to this problem?

_________________
-shailesh


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.