On 3/13/06, Chuck Williams <[EMAIL PROTECTED]> wrote:
> Is there a way to determine whether or not an index that was left locked
> due to some improper system shutdown needs repair?
Depends what you mean by "repair". If there was a crash during index
modification, I think the index should normall
Hi Chuck,
I suggest to use status file to indicate your index status. I use
this and it works very well.
-Original Message-
From: Chuck Williams [mailto:[EMAIL PROTECTED]
Sent: 2006-03-13 02:22
To: java-user@lucene.apache.org
Subject: Failure recovery
Is there a way to determine
Is there a way to determine whether or not an index that was left locked
due to some improper system shutdown needs repair?
My code does the following as part of starting up and creating an
IndexWriter for an existing index that was created in a prior session:
> if (IndexReader.isLocked(i