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

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoost — Retrieves the boost value for a particular field

Description

public function SolrInputDocument::getFieldBoost(string $fieldName): float

Retrieves the boost value for a particular field.

Parameters

fieldName

The name of the field.

Return Values

Returns the boost value for the field or false if there was an error.


<SolrInputDocument::getFieldSolrInputDocument::getFieldCount>
^SolrInputDocumentLast updated: Mon, 26 Oct 2026