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::getChildDocumentsCountSolrInputDocument::getFieldBoost>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026

SolrInputDocument::getField

(PECL solr >= 0.9.2)

SolrInputDocument::getField — Retrieves a field by name

Description

public function SolrInputDocument::getField(string $fieldName): SolrDocumentField

Retrieves a field in the document.

Parameters

fieldName

The name of the field.

Return Values

Returns a SolrDocumentField object on success and false on failure.


<SolrInputDocument::getChildDocumentsCountSolrInputDocument::getFieldBoost>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026