Php/docs/solrquery.getfields

来自菜鸟教程
跳转至:导航、​搜索

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


参数

此函数没有参数。


返回值

Returns an array on success and null if not set.