On Tue, May 8, 2012 at 12:31 AM, S Eslamian <seslam...@gmail.com> wrote:
> So if my program interrupts, the lock files in the indexes will be released > in the next run. hoom? If you use NativeFSLockFactory (which is the default for NIOFSDirectory) then, yes, the lock is always released by the OS when the process exits. > That's so good. Thank you Mr.McCandless for your help. You're welcome! Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org