Scholar Repository
Home>Manual>Adds another field to the facet

Adds another field to the facet


SolrQuery::addFacetField

(PECL solr >= 0.9.2)

SolrQuery::addFacetFieldAdds another field to the facet

Description

publicSolrQuery 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.


Home>Manual>Adds another field to the facet