Fixed, thank you very much!

El 12/07/2016 a las 17:02, Adrien Grand escribió:
A likely cause to this problem is that you are leaking index readers. You
should review your application code in order to make sure that every
near-realtime reader that is acquired is eventually closed.

Le lun. 11 juil. 2016 à 13:46, Jaime <j.par...@estructure.es> a écrit :

I use Lucene 6.1.0 (no solr) with NRT search. At runtime, my index seems
to grow a lot.

I think that for each commit, a new copy of the index is made. This
makes sense as an old searcher could be using the previous version.
However, the old copies don't seem to be erased until I close and reopen
the Index Writer.

I've tried calling IndexWriter.deleteUnusedFiles after each commit, but
didn't help.

Is there any way to free space without closing the IndexWriter?

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

Reply via email to