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

SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExists — Checks if a field exists

Description

public function SolrInputDocument::fieldExists(string $fieldName): bool

Checks if a field exists

Parameters

fieldName

Name of the field.

Return Values

Returns true if the field was found and false if it was not found.


<SolrInputDocument::__destructSolrInputDocument::getBoost>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026