Hi,
The write.lock file won't be there if you close the index using a lock
mechanism. I use my own RWLock to access the index dir and unlock it after I
close the index. Basically, the access to the index is synchronized. I have
never had any problems with this approach.
Aruna.
-----Original Message-----
From: suneethad [mailto:suneethad@india.adventnet.com]
Sent: Wednesday, April 17, 2002 11:47 PM
To: Lucene Users List
Subject: Removing a write.lock file
Hi,
I'm currently indexing allowing multiple access , I find that a
write.lock file has got created.
I know this is to prevent multiple writers, but now how do I
continue.??I do not want to reindex as I work on a very large database
and it takes a real long time How do I remove this lock file ??
Thanx 4 ur help,
Suneetha.
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
|