SearchQuery::$scores
Same name in other branches
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::scores
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::scores
- 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::scores
- 11.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::scores
Stores score expressions.
Type: array
See also
addScore()
File
-
modules/
search/ search.extender.inc, line 111
Class
- SearchQuery
- Do a query on the full-text search index for a word or words.
Code
protected $scores = array();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.