public function FieldInterface::setBoost in Search API 8
Sets the field's boost value.
Parameters
float $boost: The new boost value.
Return value
$this
1 method overrides FieldInterface::setBoost()
- Field::setBoost in src/
Item/ Field.php - Sets the field's boost value.
File
- src/
Item/ FieldInterface.php, line 350
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setBoost($boost);