-->
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: index copy master->slave - hibernate search clustering
PostPosted: Tue May 27, 2008 1:05 pm 
Newbie

Joined: Tue May 27, 2008 12:37 pm
Posts: 1
1. What is the recommended way to copy the lucene index from master to slave in the architecture specified in section 2.2.2?

2. What are the limitations put on such a copying mechanism?

3. What are the options?

Some options:
* use FSMasterDirectoryProvider on the master and have sourceBase point to a NFS.

* use rsync like Solr does. Possibly reusing some of its scripts.

* use katta or some other hapood based/like solution


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 5:21 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
1. the one described here http://www.hibernate.org/hib_docs/search/reference/en/html/search-configuration.html#jms-backend

2. there is a (configurable) delay between the database change and it's visibility in searches. Usually this is acceptable.

3. I personally only have tested the first option but any is possible, you might have to write a custom DirectoryProvider to accomodate them.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 5:26 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Katta seems for very large sets of data. Are you sure you fit into this infrastructure. Also Katta solves a different problem. It's not replication but sharding of the index (which we also do at a different level though).

_________________
Emmanuel


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.