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.