array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrinputdocument.getboost.php', 1 => 'SolrInputDocument::getBoost', ), 'up' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'prev' => array ( 0 => 'solrinputdocument.fieldexists.php', 1 => 'SolrInputDocument::fieldExists', ), 'next' => array ( 0 => 'solrinputdocument.getchilddocuments.php', 1 => 'SolrInputDocument::getChildDocuments', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument/getboost.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
SolrInputDocument::getBoost — Retrieves the current boost value for the document
此函数没有参数。
Returns the boost value on success and false
on failure.