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

### Description

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

Specifies the maximum number of rows to return in the result

### Parameters

`rows`

  The maximum number of rows to return

### Return Values

Returns the current SolrQuery object.

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