- PHP 手册
- 函数参考
- 搜索引擎扩展
- Sphinx
- SphinxClient
SphinxClient::setMaxQueryTime
(PECL sphinx >= 0.1.0)
SphinxClient::setMaxQueryTime — Set maximum query time
说明
public SphinxClient::setMaxQueryTime ( int$qtime
) : bool
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
。
User Contributed Notes 1 note
up down 0 martin ¶3 years ago
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
add a note
官方地址:https://www.php.net/manual/en/sphinxclient.setmaxquerytime.php