Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::getFacetSortSolrQuery::getFilterQueries>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::getFields

(PECL solr >= 0.9.2)

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

Description

public function SolrQuery::getFields(): array

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::getFacetSortSolrQuery::getFilterQueries>
^SolrQueryLast updated: Mon, 26 Oct 2026