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
 
<SolrDocument::getFieldCountSolrDocument::getInputDocument>
^SolrDocumentLast updated: Mon, 26 Oct 2026

SolrDocument::getFieldNames

(PECL solr >= 0.9.2)

SolrDocument::getFieldNames — Returns an array of fields names in the document

Description

public function SolrDocument::getFieldNames(): array

Returns an array of fields names in the document.

Parameters

This function has no parameters.

Return Values

Returns an array containing the names of the fields in this document.


<SolrDocument::getFieldCountSolrDocument::getInputDocument>
^SolrDocumentLast updated: Mon, 26 Oct 2026