Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.GetMergeFactor Method 

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.

public virtual int GetMergeFactor();

See Also

IndexWriter Class | Lucene.Net.Index Namespace | setMergeFactor