SolrQuery
PHP Manual

SolrQuery::addFacetField

(PECL solr >= 0.9.2)

SolrQuery::addFacetFieldAdds another field to the facet

Description

public SolrQuery SolrQuery::addFacetField ( string $field )

Adds another field to the facet

Parameters

field

The name of the field

Return Values

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


SolrQuery
PHP Manual