SolrQuery
PHP Manual

SolrQuery::setRows

(PECL solr >= 0.9.2)

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

説明

publicSolrQuery SolrQuery::setRows ( int $rows )

Specifies the maximum number of rows to return in the result

パラメータ

rows

The maximum number of rows to return

返り値

Returns the current SolrQuery object.


SolrQuery
PHP Manual