You are here

protected property SearchQuery::$normalize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::normalize

Multiplier to normalize the keyword score.

This value is calculated by the preparation step, and is used as a multiplier of the word scores to make sure they are between 0 and 1.

Type: float

File

core/modules/search/src/SearchQuery.php, line 147
Contains \Drupal\search\SearchQuery.

Class

SearchQuery
Performs a query on the full-text search index for a word or words.

Namespace

Drupal\search

Code

protected $normalize = 0;