Determines the largest segment (measured by total byte size of the segment's files, in MB) that may be merged with other segments. Small values (e.g., less than 50 MB) are best for interactive indexing, as this limits the length of pauses while indexing to a few seconds. Larger values are best for batched indexing and speedier searches.

Note that {@link #setMaxMergeDocs} is also used to check whether a segment is too large for merging (it's either or).

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

Syntax

C#
public virtual void SetMaxMergeMB(
	double mb
)
Visual Basic
Public Overridable Sub SetMaxMergeMB ( _
	mb As Double _
)
Visual C++
public:
virtual void SetMaxMergeMB(
	double mb
)

Parameters

mb
Type: System..::..Double

[Missing <param name="mb"/> documentation for "M:Lucene.Net.Index.LogByteSizeMergePolicy.SetMaxMergeMB(System.Double)"]

See Also