在线文档教程
PHP
Solr

SolrQuery::getFields

SolrQuery::getFields

(PECL solr >= 0.9.2)

SolrQuery::getFields — Returns the list of fields that will be returned in the response

Description

public array SolrQuery::getFields ( void )

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

Parameters

This function has no parameters.

Return Values

Returns an array on success and NULL if not set.

← SolrQuery::getFacetSort

SolrQuery::getFilterQueries →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrquery.getfields.php