lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Rao <>
Subject write lock: cleaning an index
Date Fri, 23 Jul 2004 16:56:50 GMT

I have an application that has one IndexWriter.  Once in a while the
enclosing application is taken down with a kill and IndexWriter leaves
a lock file behind.  Other than removing the lock file, is there
anything else I can do to clean the index.

The only general solution I can think of is to index to a temporary
index and then every so often merge it with the master index, which
cannot be allowed to be corrupted.  In this scheme we lose only the
temporary index rather than the master index.

Many thanks,

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

View raw message