- Changed code to use IndexWriter.WRITE_LOCK_NAME.
[ ... ]
+ new Lock.With(directory.makeLock("IndexWriter.COMMIT_LOCK_NAME"),
The constant shouldn't be in quotes, should it?
Ditto for your COMMIT_LOCK_NAME update.
Doug
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]