SolrQuery::getRows

(PECL solr >= 0.9.2)

SolrQuery::getRowsReturns the maximum number of documents

說明

public SolrQuery::getRows(): int

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns an integer on success and null if not set.