You are here

public function TextTokenInterface::setBoost in Search API 8

Sets the boost for this token.

Parameters

float $boost: The new boost for this token.

Return value

$this

1 method overrides TextTokenInterface::setBoost()
TextToken::setBoost in src/Plugin/search_api/data_type/value/TextToken.php
Sets the boost for this token.

File

src/Plugin/search_api/data_type/value/TextTokenInterface.php, line 44

Class

TextTokenInterface
Provides an interface for text tokens.

Namespace

Drupal\search_api\Plugin\search_api\data_type\value

Code

public function setBoost($boost);