Indicates whether the queries issued during a sweep iteration include the conditions of the filter expression (as defined in the FilterExpression property). FilteredQueryTimeout can be used to enhance job and policy sweep performance.

When FilteredQueryTimeout is set to the default value of 0, a sweep first issues queries to retrieve candidate objects from the database, and next applies the filter expression conditions on the candidate objects to determine which objects to process.

When the FilteredQueryTimeout value is greater than 0, then the queries issued to the database include the conditions of the filter expression in the WHERE clause. The value of the FilteredQueryTimeout property is used to set a time limit on the query. The time limit is applied only to the first query of the sweep iteration. If the query time limit is exceeded, then the query terminates and the sweep falls back to using a query that does not contain the filter expression in the WHERE clause.

The use of the FilteredQueryTimeout property is a trade-off between the sweep issuing longer-running database queries or evaluating candidate objects before processing them. For more information, see Optimizing sweeps with FilteredQueryTimeout.

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

ToggleSyntax

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

ToggleRemarks

ToggleSee Also