在线文档教程
PHP
Solr

SolrQuery::getFacetOffset

SolrQuery::getFacetOffset

(PECL solr >= 0.9.2)

SolrQuery::getFacetOffset — Returns an offset into the list of constraints to be used for pagination

Description

public int SolrQuery::getFacetOffset ([ string $field_override ] )

Returns an offset into the list of constraints to be used for pagination. Accepts an optional field override

Parameters

field_override

The name of the field to override for.

Return Values

Returns an integer on success and NULL if not set

← SolrQuery::getFacetMissing

SolrQuery::getFacetPrefix →

© 1997–2017 The PHP Documentation Group

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

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