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
 
<SolrInputDocument::getFieldCountSolrInputDocument::hasChildDocuments>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026

SolrInputDocument::getFieldNames

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldNames — Returns an array containing all the fields in the document

Description

public function SolrInputDocument::getFieldNames(): array

Returns an array containing all the fields in the document.

Parameters

This function has no parameters.

Return Values

Returns an array on success and false on failure.


<SolrInputDocument::getFieldCountSolrInputDocument::hasChildDocuments>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026