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.