array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrinputdocument.setfieldboost.php', 1 => 'SolrInputDocument::setFieldBoost', 2 => 'Sets the index-time boost value for a field', ), 'up' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'prev' => array ( 0 => 'solrinputdocument.setboost.php', 1 => 'SolrInputDocument::setBoost', ), 'next' => array ( 0 => 'solrinputdocument.sort.php', 1 => 'SolrInputDocument::sort', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument/setfieldboost.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 0.9.2)
SolrInputDocument::setFieldBoost — Sets the index-time boost value for a field
Sets the index-time boost value for a field. This replaces the current boost value for this field.
fieldName
The name of the field.
fieldBoostValue
The index time boost value.