SolrQuery
PHP Manual

SolrQuery::setRows

(PECL solr >= 0.9.2)

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

Opis

public SolrQuery SolrQuery::setRows ( int $rows )

Specifies the maximum number of rows to return in the result

Parametry

rows

The maximum number of rows to return

Zwracane wartoĊ›ci

Returns the current SolrQuery object.


SolrQuery
PHP Manual