We force merge all segments of a single Lucene index to a single segment for text indices today, thus potentially creating a single large segment and restricting the possibility of searching multiple segments concurrently. Instead, we should be depending on Lucene's merging policy and define a custom policy if we need to keep open file handles under control.
We force merge all segments of a single Lucene index to a single segment for text indices today, thus potentially creating a single large segment and restricting the possibility of searching multiple segments concurrently. Instead, we should be depending on Lucene's merging policy and define a custom policy if we need to keep open file handles under control.