public function Item::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.
Overrides ItemInterface::getBoost
1 call to Item::getBoost()
- Item::__toString in src/
Item/ Item.php - Implements the magic __toString() method to simplify debugging.
File
- src/
Item/ Item.php, line 364
Class
- Item
- Provides a default implementation for a search item.
Namespace
Drupal\search_api\ItemCode
public function getBoost() {
return $this->boost;
}