SolrQuery::addFacetDateField

(PECL solr >= 0.9.2)
Maps to facet.date
public SolrQuery SolrQuery::addFacetDateField ( string $dateField )

This method allows you to specify a field which should be treated as a facet.

It can be used multiple times with different field names to indicate multiple facet fields

Parameters:
dateField

The name of the date field.

Returns:

Returns a SolrQuery object.

doc_php
2016-02-24 16:11:12
Comments
Leave a Comment

Please login to continue.