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 142

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

protected $normalize = 0;
doc_Drupal
2016-10-29 09:40:51
Comments
Leave a Comment

Please login to continue.