©
本文檔使用 php中文網手册 發布
(PECL sphinx >= 0.1.0)
SphinxClient::setMaxQueryTime — Set maximum query time
$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
。
[#1] martin [2015-06-11 15:48:36]
for distributed index ...
Note that if you're performing a search which queries several local indexes, this limit applies to each index separately.
http://sphinxsearch.com/docs/latest/api-func-setmaxquerytime.html