AW: implicit closing of an IndexWriter

2011-07-26 Thread Clemens Wyss
de] > > Gesendet: Dienstag, 26. Juli 2011 17:21 > > An: java-user@lucene.apache.org > > Betreff: RE: implicit closing of an IndexWriter > > > > OK then you are fine! Something else: Are you using > IndexWriter.rollback()? > > > > If yes, the I

AW: implicit closing of an IndexWriter

2011-07-26 Thread Clemens Wyss
er@lucene.apache.org > Betreff: RE: implicit closing of an IndexWriter > > OK then you are fine! Something else: Are you using IndexWriter.rollback()? > > If yes, the IW is closed afterwards. > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213

RE: implicit closing of an IndexWriter

2011-07-26 Thread Uwe Schindler
lemens...@mysign.ch] > Sent: Tuesday, July 26, 2011 4:27 PM > To: java-user@lucene.apache.org > Subject: AW: implicit closing of an IndexWriter > > The patch "says" > + * If your application uses either {@link Thread#interrupt()} or > + * {@link Future#cancel(boolean)} you should

AW: implicit closing of an IndexWriter

2011-07-26 Thread Clemens Wyss
Ursprüngliche Nachricht- > Von: Uwe Schindler [mailto:u...@thetaphi.de] > Gesendet: Dienstag, 26. Juli 2011 16:17 > An: java-user@lucene.apache.org > Betreff: RE: implicit closing of an IndexWriter > > Please read the whole issue. The issue is fixed by "adding documentation&qu

RE: implicit closing of an IndexWriter

2011-07-26 Thread Uwe Schindler
-Original Message- > From: Clemens Wyss [mailto:clemens...@mysign.ch] > Sent: Tuesday, July 26, 2011 4:13 PM > To: java-user@lucene.apache.org > Subject: AW: implicit closing of an IndexWriter > > I am using Lucene 3.3 > > > -Ursprüngliche Nachricht- > >

AW: implicit closing of an IndexWriter

2011-07-26 Thread Clemens Wyss
I am using Lucene 3.3 > -Ursprüngliche Nachricht- > Von: Mark Miller [mailto:markrmil...@gmail.com] > Gesendet: Dienstag, 26. Juli 2011 16:05 > An: java-user@lucene.apache.org > Betreff: Re: implicit closing of an IndexWriter > > > On Jul 26, 2011, at 9:5

Re: implicit closing of an IndexWriter

2011-07-26 Thread Mark Miller
On Jul 26, 2011, at 9:52 AM, Clemens Wyss wrote: > Side note: I am using threads when writing and theses threads are (by design) > interrupted (from time to time) Perhaps you are seeing this: https://issues.apache.org/jira/browse/LUCENE-2239 - Mark Miller lucidimagination.com

implicit closing of an IndexWriter

2011-07-26 Thread Clemens Wyss
Under which circumstances is an IndexWriter "implcitly" closed? I have an IndexWriter member in one of my helper classes which ist openened in the constructor. I never ever close this member explicitly. Nevertheless I encounter AlreadyClosedException's when writing through the IndexWriter ...