You are here

public function ItemInterface::getBoost in Search API 8

Gets the boost value of this item.

Defaults to 1 if not previously set.

Return value

float The boost value.

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

File

src/Item/ItemInterface.php, line 202

Class

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

Namespace

Drupal\search_api\Item

Code

public function getBoost();