SolrQuery::getFacetFields

(PECL solr >= 0.9.2)

SolrQuery::getFacetFieldsReturns all the facet fields

說(shuō)明

public SolrQuery::getFacetFields(): array

Returns all the facet fields

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns an array of all the fields and null if none was set