# SolrQuery::getTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::getTimeAllowed — Returns 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.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open