Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created. Since Documents are merged in a {@link Lucene.Net.Store.RAMDirectory}, large value gives faster indexing. At the same time, mergeFactor limits the number of files open in a FSDirectory.

The default value is 10.

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

Syntax

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

Parameters

maxBufferedDocs
Type: System..::..Int32

[Missing <param name="maxBufferedDocs"/> documentation for "M:Lucene.Net.Index.IndexModifier.SetMaxBufferedDocs(System.Int32)"]

See Also