array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrinputdocument.setboost.php', 1 => 'SolrInputDocument::setBoost', 2 => 'Sets the boost value for this document', ), 'up' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'prev' => array ( 0 => 'solrinputdocument.reset.php', 1 => 'SolrInputDocument::reset', ), 'next' => array ( 0 => 'solrinputdocument.setfieldboost.php', 1 => 'SolrInputDocument::setFieldBoost', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument/setboost.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoostSets the boost value for this document

Açıklama

public SolrInputDocument::setBoost(float $documentBoostValue): bool

Sets the boost value for this document.

Bağımsız Değişkenler

documentBoostValue

The index-time boost value for this document.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.