SolrQuery
PHP Manual

SolrQuery::setFacetDateGap

(PECL solr >= 0.9.2)

SolrQuery::setFacetDateGapMaps to facet.date.gap

说明

public SolrQuery SolrQuery::setFacetDateGap ( string $value [, string $field_override ] )

Maps to facet.date.gap

参数

value

See facet.date.gap

field_override

The name of the field

返回值

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


SolrQuery
PHP Manual