SolrQuery::getFields

(PECL solr >= 0.9.2)

SolrQuery::getFieldsReturns the list of fields that will be returned in the response

說明

public SolrQuery::getFields(): array

Returns the list of fields that will be returned in the response

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns an array on success and null if not set.