SearchQuery::$normalize

Same name in other branches
  1. 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::normalize
  2. 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::normalize
  3. 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::normalize
  4. 11.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::normalize

Multiplier for the normalized search score.

This value is calculated by the first pass query and multiplied with the actual score of a specific word to make sure that the resulting calculated score is between 0 and 1.

Type: float

File

modules/search/search.extender.inc, line 95

Class

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

Code

protected $normalize;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.