I thought mergeFactor could be think as max number of in segment, but when it set to 10, I got 16 segments after index, and merge happened when number of in segment exceed 15 and 20. I am really confused about the mean of mergeFactor.
Here is my config
<ramBufferSizeMB>32</ramBufferSizeMB>
<maxBufferedDocs>100000</maxBufferedDocs>
<mergeFactor>10</mergeFactor>
From the Solr Wiki – SolrPerformanceFactors – Merge Factor documentation
It is not an exact number, but a guideline for how the index is managed on disk. Here is some additional good guidance on how what different settings of this value mean to the performance of your index:
You can also reference the mergeFactor documentation on the Lucidworks site for some more details about how the mergeFcator works and can impact your index performance. But I think the key here is this paragraph: