Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.
Note that this method is a convenience method: it just calls mergePolicy.GetMergeFactor as long as mergePolicy is an instance of {@link LogMergePolicy}. Otherwise an System.ArgumentException is thrown.
IndexWriter Class | Lucene.Net.Index Namespace | setMergeFactor