Re: How to find out opened readers in Lucene

2014-12-09 Thread Michael McCandless
tiReader. > > Thank you! > > > >> From: luc...@mikemccandless.com >> Date: Tue, 9 Dec 2014 06:26:40 -0500 >> Subject: Re: How to find out opened readers in Lucene >> To: java-user@lucene.apache.org >> >> Another explanation is you are not calling

RE: How to find out opened readers in Lucene

2014-12-09 Thread andi rexha
luc...@mikemccandless.com > Date: Tue, 9 Dec 2014 06:26:40 -0500 > Subject: Re: How to find out opened readers in Lucene > To: java-user@lucene.apache.org > > Another explanation is you are not calling IndexWriter.commit: older > index files (merged away segments) cannot be deleted until tha

Re: How to find out opened readers in Lucene

2014-12-09 Thread Michael McCandless
Another explanation is you are not calling IndexWriter.commit: older index files (merged away segments) cannot be deleted until that operation is done. Before doing any changes to your readers, trying calling IW.commit and see if that also frees up the disk space. If it's really that you are fai