# SolrQuery::setRows

(PECL solr >= 0.9.2)

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

### Beschreibung

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

Specifies the maximum number of rows to return in the result

### Parameter-Liste

`rows`

  The maximum number of rows to return

### Rückgabewerte

Returns the current SolrQuery object.

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