D]>
To:
Sent: Wednesday, September 27, 2006 4:55 PM
Subject: Re: lock file of lucene
> Hi jacky,
>
> Before you open IndexWriter object you can check whether lock file exists or
> not and if its available you can unlock it.
> Use IndexReader.isLocked and IndexRead
Bhavin Pandya wrote:
> Before you open IndexWriter object you can check whether lock file
> exists or not and if its available you can unlock it.
> Use IndexReader.isLocked and IndexReader.unlock.
Also, you could use a try / finally and always close the IndexWriter in
the finally clause, which sh
Hi jacky,
Before you open IndexWriter object you can check whether lock file exists or
not and if its available you can unlock it.
Use IndexReader.isLocked and IndexReader.unlock.
- Bhavin pandya
- Original Message -
From: "jacky" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September