-->
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: Store index in database (DBDirectoryProvider)
PostPosted: Thu Jun 28, 2007 6:07 am 
Beginner
Beginner

Joined: Tue Nov 18, 2003 10:16 am
Posts: 33
Location: Cluj-Napoca, Romania
As far as i noticed, there isn't an DirectoryProvider implementation for storing indexes in database.

Lucene has this possibility. I wonder if i can use that as fallback.

Thanks,
Florin marcus


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 11:15 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Lucene does not have that capability. There is some implementations out there for a DBDirectory, but they usually don't scale very well:
- remote IO to read the index
- usually build on blobs
- updating an index lock in Lucene

If you are only looking for the ability to share index across several machines, check the JMS clustering solution of Hibernate Search. Even if you don't use JMs per se, you can use the Master and Slave FSDirectoryProvider that will do the copy for you.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 30, 2007 5:56 am 
Beginner
Beginner

Joined: Tue Nov 18, 2003 10:16 am
Posts: 33
Location: Cluj-Napoca, Romania
Thanks a lot, emmanuel.
Since I have a clustering solution, there is no reason to stick with the database index storing idea.


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.