You are here

public function FieldInterface::getBoost in Search API 8

Retrieves the field's boost value.

Return value

float The boost set for this field. Defaults to 1.0 and is mostly only relevant for fulltext fields.

1 method overrides FieldInterface::getBoost()
Field::getBoost in src/Item/Field.php
Retrieves the field's boost value.

File

src/Item/FieldInterface.php, line 340

Class

FieldInterface
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function getBoost();