= 0.9.2)SolrQuery::setFacet — Maps to the facet parameter. Enables or disables facetting說(shuō)明public SolrQuery::setFacet(bo">

SolrQuery::setFacet

(PECL solr >= 0.9.2)

SolrQuery::setFacetMaps to the facet parameter. Enables or disables facetting

說(shuō)明

public SolrQuery::setFacet(bool $flag): SolrQuery

Enables or disables faceting.

參數(shù)

value

true enables faceting and false disables it.

返回值

Returns the current SolrQuery object, if the return value is used.