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.
IndexWriter Class | Lucene.Net.Index Namespace | setMaxMergeDocs