SolrQuery
PHP Manual

SolrQuery::addFacetField

(PECL solr >= 0.9.2)

SolrQuery::addFacetFieldAdds another field to the facet

说明

publicSolrQuery SolrQuery::addFacetField ( string $field )

Adds another field to the facet

参数

field

The name of the field

返回值

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


SolrQuery
PHP Manual