(PECL solr >= 0.9.2)
SolrQuery::setFacet — Maps to the facet parameter. Enables or disables facetting
$flag
Enables or disables faceting.
value
true enables faceting and false disables it.
true
false
Returns the current SolrQuery object, if the return value is used.