array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrquery.addfacetdatefield.php', 1 => 'SolrQuery::addFacetDateField', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.addexpandsortfield.php', 1 => 'SolrQuery::addExpandSortField', ), 'next' => array ( 0 => 'solrquery.addfacetdateother.php', 1 => 'SolrQuery::addFacetDateOther', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/addfacetdatefield.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::addFacetDateField — Maps to facet.date
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
dateField
The name of the date field.
Returns a SolrQuery object.