array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.setfacetoffset.php', 1 => 'SolrQuery::setFacetOffset', 2 => 'Sets the offset into the list of constraints to allow for pagination', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setfacetmissing.php', 1 => 'SolrQuery::setFacetMissing', ), 'next' => array ( 0 => 'solrquery.setfacetprefix.php', 1 => 'SolrQuery::setFacetPrefix', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setfacetoffset.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrQuery::setFacetOffset

(PECL solr >= 0.9.2)

SolrQuery::setFacetOffsetSets the offset into the list of constraints to allow for pagination

说明

public SolrQuery::setFacetOffset(int $offset, string $field_override = ?): SolrQuery

Sets the offset into the list of constraints to allow for pagination.

参数

offset

The offset

field_override

The name of the field.

返回值

Returns the current SolrQuery object, if the return value is used.