SolrQuery
PHP Manual

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

Liste de paramètres

rows

The maximum number of rows to return

Valeurs de retour

Returns the current SolrQuery object.


SolrQuery
PHP Manual