PHP - Manual: SolrQuery::setTimeAllowed
2024-12-22
(PECL solr >= 0.9.2)
SolrQuery::setTimeAllowed — The time allowed for search to finish
The time allowed for a search to finish. This value only applies to the search and not to requests in general. Time is in milliseconds. Values less than or equal to zero implies no time restriction. Partial results may be returned, if there are any.
timeAllowed
The time allowed for a search to finish.
Returns the current SolrQuery object, if the return value is used.
官方地址:https://www.php.net/manual/en/solrquery.settimeallowed.php