在线文档教程
PHP
Solr

SolrQuery::setStart

SolrQuery::setStart

(PECL solr >= 0.9.2)

SolrQuery::setStart — Specifies the number of rows to skip

Description

public SolrQuery SolrQuery::setStart ( int $start )

Specifies the number of rows to skip. Useful in pagination of results.

Parameters

start

The number of rows to skip.

Return Values

Returns the current SolrQuery object.

← SolrQuery::setShowDebugInfo

SolrQuery::setStats →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.setstart.php