array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrinputdocument.getfieldboost.php', 1 => 'SolrInputDocument::getFieldBoost', 2 => 'Retrieves the boost value for a particular field', ), 'up' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'prev' => array ( 0 => 'solrinputdocument.getfield.php', 1 => 'SolrInputDocument::getField', ), 'next' => array ( 0 => 'solrinputdocument.getfieldcount.php', 1 => 'SolrInputDocument::getFieldCount', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument/getfieldboost.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrInputDocument::getFieldBoost

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldBoostRetrieves the boost value for a particular field

Açıklama

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

Retrieves the boost value for a particular field.

Bağımsız Değişkenler

fieldName

The name of the field.

Dönen Değerler

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