Php/docs/solrquery.setrows
来自菜鸟教程
SolrQuery::setRows
(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.