Php/docs/solrquery.gettimeallowed

来自菜鸟教程
跳转至:导航、​搜索

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.