Php/docs/solrquery.getfacetoffset

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::getFacetOffset

(PECL solr >= 0.9.2)

SolrQuery::getFacetOffsetReturns an offset into the list of constraints to be used for pagination


说明

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

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


参数

field_override
The name of the field to override for.


返回值

Returns an integer on success and null if not set