Hi,
I am unable to understand the difference between mergefactor and minMergeDocs.
For e.g. I want to index 10,000 Documents and say 100 of those Documents fill up my RAM buffer, so Lucene will write out these 100 Documents as a file. Now if I set mergefactor=5, when a fifth segment is to be written to the disk, Lucene will merge all the existing segments to a single segment and so on.
1. Where does minMergeDocs fit in to this? If I have mergefactor=5 and minMergeDocs=10 -- Does mergefactor take precedence over minMergeDocs?
2. Also, when Lucene merges segments on the disk , does it also delete the individual segments, which are now part of the new segment file?
Thanks in advance for your response,