Re: optimization recommandation

2016-05-27 Thread Michael McCandless
If you have many deletes on the index (not typical for a time-based index) then forceMerge (or just forceMergeDeletes) will reclaim disk space. Fewer file handles will be needed to open the index. Some searches may be faster, but you should test in your case if that's really the case. Much progr

optimization recommandation

2016-05-27 Thread Vincent Sevel
Hello, I am using indexes that can be as large as 25 Gb. Indexes are created for a specific time window (for instance it can be weekly based). Once the week is passed they are not written to anymore. I have seen the IndexWriter.forceMerge(int) operation, and I had several questions: - Afte