= 0.9.2)SolrQuery::setRows — Specifies the maximum number of rows to return in the result說(shuō)明public SolrQuery::setRows(int">

SolrQuery::setRows

(PECL solr >= 0.9.2)

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

說(shuō)明

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

Specifies the maximum number of rows to return in the result

參數(shù)

rows

The maximum number of rows to return

返回值

Returns the current SolrQuery object.