Specifies the maximum number of rows to return in the result

# SolrQuery::setRows

(PECL solr >= 0.9.2)

SolrQuery::setRows — Specifies the maximum number of rows to return in the result

### 说明

public function SolrQuery::setRows(int `$rows`): SolrQuery

Specifies the maximum number of rows to return in the result

### 参数

`rows`

  The maximum number of rows to return

### 返回值

Returns the current SolrQuery object.

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