Apache Lucene.Net 2.4.0 Class Library API

ConcurrentMergeScheduler.SetMaxThreadCount Method 

Sets the max # simultaneous threads that may be running. If a merge is necessary yet we already have this many threads running, the incoming thread (that is calling add/updateDocument) will block until a merge thread has completed.

public virtual void SetMaxThreadCount(
   int count
);

See Also

ConcurrentMergeScheduler Class | Lucene.Net.Index Namespace