Hi Shai,
writer.rollback() looks like exactly what I need. Not sure how I
overlooked that. Thanks for the help!
-Geoff
On Mon, Jun 4, 2012 at 10:11 AM, Shai Erera wrote:
> Hi
>
> You have several ways to do it:
>
> 1) Use NativeFSLockFactory, which obtains native locks that are released
> au
Hi
You have several ways to do it:
1) Use NativeFSLockFactory, which obtains native locks that are released
automatically when the process dies, as well as after a successful
IndexWriter.close(). If your writer.close() is called just before the
process terminates, then this might be a good soluti
Hi,
Is there a safe way to forcefully close an IndexWriter that is unable to
flush to disk? We're seeing occasional issues where an IndexWriter
encounters an IOException on close and does not release the write lock.
The IndexWriter documentation lists this as desired behavior so that
clients can