PHP is a popular general-purpose scripting language that is especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the largest social networking site in the world.
Begin Tutorial »
(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.