You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Uhl V., DP ITS, SCB, FD" <V....@deutschepost.de> on 2003/08/18 17:05:07 UTC

Make Lucene Index distributable

Hallo All,
We have developed our WebApp with Lucene under Tomcat 4.X and stored index
in file system. Now this Web Application have to move to Bea Weblogic
Cluster. My Problem is to create a distributable Index of Lucene. Have one
ideas or experience how to do this?(How to store Index?)

Thanks for every ideas.

Mit freundlichen Grüßen
Vitali Uhl

Client Server Systeme
Deutsche Post ITSolutions GmbH 
tel. +49 (0) 661 / 921 -245 
fax: +49 (0) 661 / 921 -111
internet: http://www.dp-itsolutions.de/ <http://www.dp-itsolutions.de/>  
Anschrift:
DP ITSolutions GmbH 
D - 36035 Fulda


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Make Lucene Index distributable

Posted by "Kevin A. Burton" <bu...@newsmonster.org>.
Uhl V., DP ITS, SCB, FD wrote:

>Hallo All,
>We have developed our WebApp with Lucene under Tomcat 4.X and stored index
>in file system. Now this Web Application have to move to Bea Weblogic
>Cluster. My Problem is to create a distributable Index of Lucene. Have one
>ideas or experience how to do this?(How to store Index?)
>  
>
Bring up one machine as a master Index.  All index updates should be 
performed here.  You can then take machines out of service, rsync the 
index, then bring them back online.

Also the IndexSearcher can work with multiple indexes and you can just 
keep syncing mulitple indexes over instead of updating one monolothic 
index.  In this situation you wouldn't need to take machines offline but 
you would have to swap in the new index once the rsync is complete.  A 
simple dir rename could make this atomic.

Kevin

-- 
Help Support NewsMonster Development!  Purchase NewsMonster PRO!

    http://www.newsmonster.org/download-pro.html

Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
       AIM - sfburtonator,  Web - http://www.peerfear.org/
GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
  IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster