Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$title is deprecated in /home/www/dev/work/website/lvesu/class/controller/blog/php.php on line 28

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/php.manual.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
PHP - Manual: SphinxClient::setMaxQueryTime - 互联网笔记

略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SphinxClient::setMaxQueryTime

2025-10-03

SphinxClient::setMaxQueryTime

(PECL sphinx >= 0.1.0)

SphinxClient::setMaxQueryTimeSet 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

add a note add a note

User Contributed Notes 1 note

up
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

官方地址:https://www.php.net/manual/en/sphinxclient.setmaxquerytime.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3