A {@link MergeScheduler} that runs each merge using a separate thread, up until a maximum number of threads ({@link #setMaxThreadCount}) at which when a merge is needed, the thread(s) that are updating the index will pause until one or more merges completes. This is a simple way to use concurrency in the indexing process without having to create and manage application level threads.

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

Syntax

C#
public class ConcurrentMergeScheduler : MergeScheduler
Visual Basic
Public Class ConcurrentMergeScheduler _
	Inherits MergeScheduler
Visual C++
public ref class ConcurrentMergeScheduler : public MergeScheduler

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Index..::..MergeScheduler
    Lucene.Net.Index..::..ConcurrentMergeScheduler

See Also