SolrQuery::setRows

(PECL solr >= 0.9.2)

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

˵��

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

Specifies the maximum number of rows to return in the result

����

rows

The maximum number of rows to return

����ֵ

Returns the current SolrQuery object.