SolrQuery::getTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::getTimeAllowedReturns the time in milliseconds allowed for the query to finish

说明

public SolrQuery::getTimeAllowed(): int

Returns the time in milliseconds allowed for the query to finish.

参数

此函数没有参数。

返回值

Returns and integer on success and null if it is not set.