-->
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 cluster with lucene back end (shared store)
PostPosted: Fri Dec 19, 2008 7:35 am 
Newbie

Joined: Thu Dec 18, 2008 11:48 am
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.0.1

Hello everyone,
I am interested if someone have tried to use hibernate search in a cluster with the Lucene back end. How should hibernate search be configured in this case (must e.g. NativeFSLockFactory be used)?

The documentation of hibernate search, section Architecture Lucene says, quote:
Quote:
"In this mode, all index update operations applied on a given node (JVM) will be executed to the Lucene directories
(through the directory providers) by the same node. This mode is typically used in non-clustered environment
or in clustered environments where the directory store is shared."

I am asking this, because in clustered environments where the directory store is shared, Lucene does not support parallel index modification from different processes( see the Lucene FAQ here ). I suppose the author has meant the master - slave approach with a single hibernate search master node and many hibernate search slave nodes, as the one and only configuration. I personally find this a limitation, since not all cluster configurations (in case of ActiveMQ) are supported.

Hibernate search would scale very easy if the Solr back end was supported. Are there any plans to support this back end? (In my opinion the out-of-the-box clustering is a strong argument for its support)

Thank you in advance.


Last edited by me2stk on Fri Dec 19, 2008 8:38 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 19, 2008 8:12 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Quote:
Hibernate search would scale very easy if the Solr back end was supported. Are there any plans to support this back end?

That would be very interesting indeed. Writing a new backend for Hibernate Search is quite easy stuff and the interface is self-explanatory; if you have some Solr experience you could try making one. Emmanuel takes decisions here, I will ping him, but I'm sure already he would be happy to include such a contribution in the distro.

If you want to take a look to the current Lucene backend, look to the trunk version as it has just been simplified a lot (removed a lot of code since 3.1.0).

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 19, 2008 10:01 am 
Newbie

Joined: Tue Sep 23, 2008 10:48 am
Posts: 7
Ops, sorry, wrong thread!


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.