WebCenter Interaction API  
 

IPTSQueryResponse.queryTimedOut Method 

Returns true if the request took too much time to run and a partial result set was returned. Note that no exception is thrown in this case; the Search Server simply returns an incomplete result set, and you may wish to display a message to the user indicating this.

Also, note that this method is not meant to be called during execution of the request (after all, this IPTSQueryResponse object has not yet been constructed); you should call it after IPTSQueryRequest.execute returns, to determine whether execution completed or not.
bool queryTimedOut();

Return Value

true if the query took too much time to run and a partial result set was returned.

See Also

IPTSQueryResponse Interface | com.plumtree.server.search Namespace