lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss <clemens...@mysign.ch>
Subject implicit closing of an IndexWriter
Date Tue, 26 Jul 2011 13:52:35 GMT
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 ... 

Side note: I am using threads when writing and theses threads are (by design) interrupted
(from time to time)

Any help appreciated
Clemens

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message