Just do the merges in sequence. We do this "synchronized" so that even if the application is using multiple threads, only one merge may run at a time.

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

Syntax

C#
public override void Merge(
	IndexWriter writer
)
Visual Basic
Public Overrides Sub Merge ( _
	writer As IndexWriter _
)
Visual C++
public:
virtual void Merge(
	IndexWriter^ writer
) override

Parameters

writer
Type: Lucene.Net.Index..::..IndexWriter

[Missing <param name="writer"/> documentation for "M:Lucene.Net.Index.SerialMergeScheduler.Merge(Lucene.Net.Index.IndexWriter)"]

See Also