PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

SphinxClient::setMaxQueryTime

(PECL sphinx >= 0.1.0)

SphinxClient::setMaxQueryTimeSet maximum query time

Description

public bool SphinxClient::setMaxQueryTime ( int $qtime )

Sets maximum search query time.

Parameters

qtime

Maximum query time, in milliseconds. It must be a non-negative integer. Default value is 0, i.e. no limit.

Return Values

Returns TRUE on success or FALSE on failure.

PHP Manual