PHP
Solr

SolrInputDocument::setBoost

SolrInputDocument::setBoost

(PECL solr >= 0.9.2)

SolrInputDocument::setBoost — Sets the boost value for this document

Description

public bool SolrInputDocument::setBoost ( float $documentBoostValue )

Sets the boost value for this document.

Parameters

documentBoostValue

The index-time boost value for this document.

Return Values

Returns TRUE on success or FALSE on failure.

← SolrInputDocument::reset

SolrInputDocument::setFieldBoost →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrinputdocument.setboost.php