On Tue, May 8, 2012 at 12:31 AM, S Eslamian <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to