Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.GetMaxMergeDocs Method 

Returns the largest segment (measured by document count) that may be merged with other segments.

Note that this method is a convenience method: it just calls mergePolicy.GetMaxMergeDocs as long as mergePolicy is an instance of {@link LogMergePolicy}. Otherwise an System.ArgumentException is thrown.

public virtual int GetMaxMergeDocs();

See Also

IndexWriter Class | Lucene.Net.Index Namespace | setMaxMergeDocs