php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::setRows

SolrQuery::setRows

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Specifies the maximum number of rows to return in the result

Description

SolrQuery::setRows(int $rows): SolrQuery

Specifies the maximum number of rows to return in the result

Parameters

rows

The maximum number of rows to return

Return Values

Returns the current SolrQuery object.

Source: reference/solr/solrquery/setrows.xml · from the official PHP manual (php/doc-en)