Scholar Repository
Home>Manual>Specifies the maximum number of rows to return in the result

Specifies the maximum number of rows to return in the result


SolrQuery::setRows

(PECL solr >= 0.9.2)

SolrQuery::setRowsSpecifies the maximum number of rows to return in the result

Description

publicSolrQuery SolrQuery::setRows ( int $rows )

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.


Home>Manual>Specifies the maximum number of rows to return in the result