You are here

public function ItemInterface::setBoost in Search API 8

Sets the boost value of this item.

Parameters

float $boost: The boost value to set.

Return value

$this

1 method overrides ItemInterface::setBoost()
Item::setBoost in src/Item/Item.php
Sets the boost value of this item.

File

src/Item/ItemInterface.php, line 212

Class

ItemInterface
Represents a search item being indexed or returned as a search result.

Namespace

Drupal\search_api\Item

Code

public function setBoost($boost);