lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <>
Subject Re: IndexWriter.close() no longer seems to close everything
Date Mon, 09 Nov 2009 04:17:38 GMT
On Mon, Nov 9, 2009 at 14:41, John Wang <> wrote:
> I am seeing the samething, but only when IndexWriter.getReader is called at
> a high rate.
> from lsof, I see file handles growing.

This hint turned out to help. :-)

Turns out we had an IndexReader hanging around from a previous index
state (before adding docs.)  When the IndexWriter was opened, another
reader was opened, so even though we thought we were closing both, it
turned out there were two readers and one writer, and we were only
closing one of the readers.


Daniel Noll                            Forensic and eDiscovery Software
Senior Developer                              The world's most advanced
Nuix                                                email data analysis                                and eDiscovery software

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

View raw message