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 IllegalArgumentException is thrown.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual int GetMaxMergeDocs()
Visual Basic
Public Overridable Function GetMaxMergeDocs As Integer
Visual C++
public:
virtual int GetMaxMergeDocs()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexWriter.GetMaxMergeDocs"]

See Also