lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zeynep P." <>
Subject this IndexReader is closed only with jar
Date Mon, 17 Oct 2011 17:13:16 GMT

I am having a weird experience. I made a few changes with the source code
(Lucene 3.3). I created a basic application to test it. First, I added
Lucene 3.3 project to basic project as "required projects on the build path"
to be able to debug. When everything was ok, I removed it from required
projects, build it and I added the "jar" to basic application. When I run my
basic application with jar, I have "this IndexReader is closed" error. When
I remove jar and add the  Lucene 3.3 project again as required  project,
everything is ok. I have no explication!!!! Can someone explain me why it

Thanks in advance
ZP this IndexReader is closed
	at org.apache.lucene.index.IndexReader.ensureOpen(
	at org.apache.lucene.index.SegmentReader.docFreq(
	at org.apache.lucene.util.ReaderUtil$
	at org.apache.lucene.util.ReaderUtil$
	at org.apache.lucene.util.ReaderUtil$

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message