Sets the minimum size for the lowest level segments. Any segments below this size are considered to be on the same level (even if they vary drastically in size) and will be merged whenever there are mergeFactor of them. This effectively truncates the "long tail" of small segments that would otherwise be created into a single level. If you set this too large, it could greatly increase the merging cost during indexing (if you flush many small segments).

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

Syntax

C#
public virtual void SetMinMergeDocs(
	int minMergeDocs
)
Visual Basic
Public Overridable Sub SetMinMergeDocs ( _
	minMergeDocs As Integer _
)
Visual C++
public:
virtual void SetMinMergeDocs(
	int minMergeDocs
)

Parameters

minMergeDocs
Type: System..::..Int32

[Missing <param name="minMergeDocs"/> documentation for "M:Lucene.Net.Index.LogDocMergePolicy.SetMinMergeDocs(System.Int32)"]

See Also