The maximum number of indexing workers, per Content Platform Engine instance, to use for background processing of index requests.

Content Platform Engine automatically scales the number of worker threads based on index server status to avoid overloading IBM Content Search Services with incoming work. This automatic scaling uses the value of the ThreadCount property as a base value in accordance with the following calculation:

Maximum workers per CPE instance = base value * (running CSS servers / configured CSS servers)

In this calculation, CPE instance refers to a Content Platform Engine instance, and CSS server refers to an IBM Content Search Services index server. Configured CSS servers include all registered index servers that have a status of either UNAVAILABLE OR ENABLED (that is, any status other than DISABLED). Running CSS servers include all configured servers that have a status of ENABLED. For example, suppose that you register four index servers with Content Platform Engine, enable them, and set the base value to 20. In the normal situation, all configured CSS servers are running, and the calculated maximum number of worker threads is the same as the base value: 20 * (4 / 4) = 20. Otherwise, if not all configured CSS servers are running, the calculated maximum is some fraction of the base value. For instance, if only three index servers are running, the calculated maximum is 15: 20 * (3 / 4) = 15.

Note that this property works in tandem with the MaximumConcurrentIndexingBatches property on the ICmTextSearchServer class to control the indexing work load for a Content Platform Engine instance. It is not necessary for the number of maximum worker threads for indexing to be equal to the number of concurrent batches. Given sufficient computing resources, having more worker threads across all of the Content Platform Engine instances than the number of concurrent batches is healthy.

Namespace:  FileNet.Api.Admin
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Property ThreadCount As Nullable(Of Integer)
C#
Nullable<int> ThreadCount { get; set; }
Visual C++
property Nullable<int> ThreadCount {
	Nullable<int> get ();
	void set (Nullable<int> value);
}
JavaScript
function get_threadCount();
function set_threadCount(value);

ToggleRemarks

ToggleSee Also