java-user@lucene.apache.org
Sent: Thu, April 8, 2010 4:53:08 PM
Subject: Re: ClosedChannelException from IndexWriter.getReader()
Argh! one more running into this issue.
It still bugs me that NIOFSDirectory struggles so badly if interrupt is used.
simon
On Thu, Apr 8, 2010 at 11:19 PM, Justin wrote:
&g
t;
> - Original Message
> From: Michael McCandless
> To: java-user@lucene.apache.org
> Sent: Thu, April 8, 2010 3:50:41 PM
> Subject: Re: ClosedChannelException from IndexWriter.getReader()
>
> OK, phew :)
>
> Yea warming in a separate thread is common... but wh
given.
wait/notify should accomplish the same without interrupting NIOFSDirectory.
- Original Message
From: Michael McCandless
To: java-user@lucene.apache.org
Sent: Thu, April 8, 2010 3:50:41 PM
Subject: Re: ClosedChannelException from IndexWriter.getReader()
OK, phew :)
Yea warming
Sent: Thu, April 8, 2010 2:41:07 PM
> Subject: Re: ClosedChannelException from IndexWriter.getReader()
>
> Are you using Future.cancel or directly using Thread.interrupt? If so
> it could be this nasty issue:
>
> https://issues.apache.org/jira/browse/LUCENE-2239
>
> Try
From: Michael McCandless
To: java-user@lucene.apache.org
Sent: Thu, April 8, 2010 2:41:07 PM
Subject: Re: ClosedChannelException from IndexWriter.getReader()
Are you using Future.cancel or directly using Thread.interrupt? If so
it could be this nasty issue:
https://issues.apache.org/jira
, Justin wrote:
> I'm getting a ClosedChannelException from IndexWriter.getReader(). I don't
> think the writer has been closed and, if it were, I would expect an
> AlreadyClosedException as described in the API documentation. Does anyone
> have an idea what might be w
I'm getting a ClosedChannelException from IndexWriter.getReader(). I don't
think the writer has been closed and, if it were, I would expect an
AlreadyClosedException as described in the API documentation. Does anyone have
an idea what might be wrong? The disk is not full and the p