Aqualogic Interaction API  
 

IPTSQueryRequest.setQueryTimeout Method 

Set the search server's query processing timeout for this request. After the timeout elapses, the server will stop processing the query and return whatever results it has accumulated so far. This should be regarded as an execution time target, not as a strict upper bound.

void setQueryTimeout(
   int timeoutInSecs
);

Parameters

timeoutInSecs
desired timeout in seconds (if positive), 0 to disable the timeout, or -1 to use the default from the search server configuration.

See Also

IPTSQueryRequest Interface | com.plumtree.server.search Namespace