Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PECL solr >= 0.9.2)

SolrQuery::getRowsReturns the maximum number of documents


public int SolrQuery::getRows ( void )

Returns the maximum number of documents from the complete result set to return to the client for every request


This function has no parameters.

Return Values

Returns an integer on success and NULL if not set.

PHP Manual