array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'solrquery.setfacetmethod.php', 1 => 'SolrQuery::setFacetMethod', 2 => 'Specifies the type of algorithm to use when faceting a field', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setfacetlimit.php', 1 => 'SolrQuery::setFacetLimit', ), 'next' => array ( 0 => 'solrquery.setfacetmincount.php', 1 => 'SolrQuery::setFacetMinCount', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setfacetmethod.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::setFacetMethod — Specifies the type of algorithm to use when faceting a field
Specifies the type of algorithm to use when faceting a field. This method accepts optional field override.
methodThe method to use.
field_overrideThe name of the field.
Returns the current SolrQuery object, if the return value is used.