SearchQuery::$relevance_count

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

The number of 'i.relevance' occurrences in score expressions.

Type: int

File

core/modules/search/src/SearchQuery.php, line 180

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

protected $relevance_count = 0;

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