SphinxClient
PHP Manual

SphinxClient::setMaxQueryTime

(PECL sphinx >= 0.1.0)

SphinxClient::setMaxQueryTimeSet maximum query time

说明

public bool SphinxClient::setMaxQueryTime ( int $qtime )

Sets maximum search query time.

参数

qtime

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

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE


SphinxClient
PHP Manual