SphinxClient::setMaxQueryTime

(PECL sphinx >= 0.1.0)

SphinxClient::setMaxQueryTimeSet maximum query time

Descrierea

public SphinxClient::setMaxQueryTime ( int $qtime ) : bool

Sets maximum search query time.

Parametri

qtime

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

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

add a note add a note

User Contributed Notes 1 note

up
0
martin
9 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
To Top