Re: Reduce index size without reopening IndexWriter

2016-07-13 Thread Jaime
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 ju

Re: Reduce index size without reopening IndexWriter

2016-07-12 Thread Adrien Grand
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 a écrit : > I use Lucene 6.1.0 (no solr) with NRT search

Reduce index size without reopening IndexWriter

2016-07-11 Thread Jaime
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 reop