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.

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

Syntax

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

Parameters

count
Type: System..::..Int32

[Missing <param name="count"/> documentation for "M:Lucene.Net.Index.ConcurrentMergeScheduler.SetMaxThreadCount(System.Int32)"]

See Also