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;

SearchQuery::$multiply

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

SearchQuery::$matches

Indicates how many matches for a search query are necessary. Type: int File core/modules/search/src/SearchQuery.php, line 123 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $matches = 0;

SearchQuery::$keys

Parsed-out positive and negative search keys. Type: array File core/modules/search/src/SearchQuery.php, line 99 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $keys = array('positive' => array(), 'negative' => array());

SearchQuery::$executedPrepare

Indicates whether the preparation step has been executed. Type: bool File core/modules/search/src/SearchQuery.php, line 149 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $executedPrepare = FALSE;

SearchQuery::$conditions

Conditions that are used for exact searches. This is always used for the second step in the query, but is not part of the preparation step unless $this->simple is FALSE. Type: DatabaseCondition File core/modules/search/src/SearchQuery.php, line 116 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code protected $conditions;

SearchQuery

Search query extender and helper functions. Performs a query on the full-text search index for a word or words. This query is used by search plugins that use the search index (not all search plugins do, as some use a different searching mechanism). It assumes you have set up a query on the {search_index} table with alias 'i', and will only work if the user is searching for at least one "positive" keyword or phrase. For efficiency, users of this query can run the prepareAndNormalize() method to

SearchPageRepositoryInterface::sortSearchPages

public SearchPageRepositoryInterface::sortSearchPages($search_pages) Sorts a list of search pages. Parameters \Drupal\search\SearchPageInterface[] $search_pages: The unsorted list of search pages. Return value \Drupal\search\SearchPageInterface[] The sorted list of search pages. File core/modules/search/src/SearchPageRepositoryInterface.php, line 66 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public fu

SearchPageRepositoryInterface::setDefaultSearchPage

public SearchPageRepositoryInterface::setDefaultSearchPage(SearchPageInterface $search_page) Sets a given search page as the default. Parameters \Drupal\search\SearchPageInterface $search_page: The search page entity. Return value static File core/modules/search/src/SearchPageRepositoryInterface.php, line 50 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public function setDefaultSearchPage(SearchPageInte

SearchPageRepositoryInterface::isSearchActive

public SearchPageRepositoryInterface::isSearchActive() Returns whether search is active. Return value bool TRUE if at least one search is active, FALSE otherwise. File core/modules/search/src/SearchPageRepositoryInterface.php, line 24 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public function isSearchActive();