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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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