(PECL solr >= 0.9.2)
SolrQuery::setRows — Specifies 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.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.setrows.php