PHP 7.0.6 Released

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.

User Contributed Notes

martin
10 months 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
To Top