Php/docs/solrquery.getfacetdategap

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

SolrQuery::getFacetDateGap

(PECL solr >= 0.9.2)

SolrQuery::getFacetDateGapReturns the value of the facet.date.gap parameter


说明

public SolrQuery::getFacetDateGap ([ string $field_override ] ) : string

Returns the value of the facet.date.gap parameter. It accepts an optional field override


参数

field_override
The name of the field


返回值

Returns a string on success and null if not set