SolrQuery::setRows

(PECL solr >= 0.9.2)

SolrQuery::setRowsSpecifies 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.

相关文章
php cubrid 函数 get the number of rows in the result setphp frontbase 函数 get number of rows in resultphp maxdb 函数 return the number of rows in statements result setphp sqlsrv 函数 retrieves the number of rows in a result setphp mysqli stmt return the number of rows in statements result setphp solrquery specifies which fields to return in the resultphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters of the field to returnphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the number of similar documents to return for each resultphp solrquery returns the maximum number of query terms that will be included in any generated queryphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector supportphp solrquery returns the maximum number of terms solr should returnphp solrquery specifies the number of results to return for each group. the server default value is 1php solrquery sets the maximum number of characters of the field to returnphp solrquery set the number of similar documents to return for each resultphp solrquery specifies the maximum number of tokens to parsephp solrquery specifies the maximum number of rows to return in the resultphp solrquery specifies the number of rows to skipphp solrquery sets the maximum number of terms to return
关注编程学问公众号