Olivier Jaquemet wrote:
IndexReader.unlock(indexDir); // unlock directory in case of unproper
shutdown
This should be used very carefully. In particular, you should only call
it when you are certain that no other applications are accessing the index.
Doug
---
l what you are doing wrong from the stacktrace, sorry.
Otis
- Original Message
From: Nikhil Goel <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org; Otis Gospodnetic <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2006 2:04:30 PM
Subject: Re: Multiple threads in Lucene
Hi Otis,
ednesday, March 22, 2006 6:04:41 PM
Subject: Multiple threads in Lucene
Hi Lucene Developers,
According to Lucene Documentation, IndexWriter can exist with multiple
IndexSearcher and its thread safe. To verify that: I wrote a simple
program
to simulate that condition but unfortunately I get an exceptio
e doing wrong with the threads... it looks like you
> might be opening multiple IndexWriters on the same index/directory (big no
> no).
>
> Otis
>
> - Original Message
> From: Nikhil Goel <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Wedn
el <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Wednesday, March 22, 2006 6:04:41 PM
Subject: Multiple threads in Lucene
Hi Lucene Developers,
According to Lucene Documentation, IndexWriter can exist with multiple
IndexSearcher and its thread safe. To verify that: I wrote a simple pro
Hi Lucene Developers,
According to Lucene Documentation, IndexWriter can exist with multiple
IndexSearcher and its thread safe. To verify that: I wrote a simple program
to simulate that condition but unfortunately I get an exception. Please let
me know if anyone has ever tested the Lucene claim th