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

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

Syntax

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

Return Value

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

See Also