lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nader S. Henein" <>
Subject RE: Replication of indexes
Date Mon, 15 Jul 2002 11:57:53 GMT
I maintain the index on multiple machines UPDATING/DELETING/OPTIMIZING on
all three machines,
it's hard to make sure that everything is synchronized but it provides a
fall back in case anything happens
to the index. What you're doing is mainly a copy witch is probably like my
backup, witch is quite simple now in the
sense that I check the index directory for *.lock files if none are present
(the index isn't being edited/optimized)
I create a write.lock file witch tells the indexer not to run and I read the
file list using a shell script and copy
the files to a different directory. It's a hack but it works fine. I'm
currently working on a backup and rollback
API for Lucene witch should work for copying the index across.

Nader Henein

-----Original Message-----
From: Harpreet S Walia []
Sent: Monday, July 15, 2002 3:39 AM
To: Lucene Users List
Subject: Replication of indexes

Hello Everybody,

I have a requirement where i need to replicate the index files generated by
lucene to another server at a remote location.
What i have observed is that lucene keeps on changing file names for the
index files  . does it follow any speific pattern in doing this ?
Is anybody doing something like this ?

>From what i understand it will be best if i optimize the index before i
replicate it and also make a local copy so that the index is not
updated while it is being replicated. What other issues can be there if i
try something like this .



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message