You are here

public function ItemInterface::getScore in Search API 8

Returns the score of the item.

Defaults to 1 if not previously set.

Return value

float The score of the item.

1 method overrides ItemInterface::getScore()
Item::getScore in src/Item/Item.php
Returns the score of the item.

File

src/Item/ItemInterface.php, line 182

Class

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

Namespace

Drupal\search_api\Item

Code

public function getScore();