SearchQuery::countQuery

public SearchQuery::countQuery() Builds the default count query for SearchQuery. Since SearchQuery always uses GROUP BY, we can default to a subquery. We also add the same conditions as execute() because countQuery() is called first. Overrides SelectExtender::countQuery File core/modules/search/src/SearchQuery.php, line 603 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code public function countQuery() { if (!$this->executedPrepare) { $t

SearchQuery::EXPRESSIONS_IGNORED

Indicates that part of the search expression was ignored. To prevent Denial of Service attacks, only \Drupal::config('search.settings')->get('and_or_limit') expressions (positive keywords, phrases, negative keywords) are allowed; this flag indicates that expressions existed past that limit and they were removed. See also SearchQuery::getStatus() File core/modules/search/src/SearchQuery.php, line 57 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search

SearchQuery::$words

Array of positive search words. These words have to match against {search_index}.word. Type: array File core/modules/search/src/SearchQuery.php, line 132 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $words = array();

SearchQuery::$simple

Indicates whether the query conditions are simple or complex (LIKE). Type: bool File core/modules/search/src/SearchQuery.php, line 106 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $simple = TRUE;

SearchQuery::$searchExpression

The keywords and advanced search options that are entered by the user. Type: string File core/modules/search/src/SearchQuery.php, line 82 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $searchExpression;

SearchQuery::$scores

The word score expressions. Type: array See also SearchQuery::addScore() File core/modules/search/src/SearchQuery.php, line 167 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $scores = array();

SearchQuery::$scoresArguments

Arguments for the score expressions. Type: array File core/modules/search/src/SearchQuery.php, line 174 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $scoresArguments = array();

SearchQuery::$type

The type of search (search type). This maps to the value of the type column in search_index, and is usually equal to the machine-readable name of the plugin or the search page. Type: string File core/modules/search/src/SearchQuery.php, line 92 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $type;

SearchQuery::$status

A bitmap of status conditions, described in getStatus(). Type: int See also SearchQuery::getStatus() File core/modules/search/src/SearchQuery.php, line 158 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $status = 0;

SearchQuery::$relevance_count

The number of 'i.relevance' occurrences in score expressions. Type: int File core/modules/search/src/SearchQuery.php, line 181 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $relevance_count = 0;