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::$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::$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;

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::$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

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::getDefaultSearchPage

public SearchPageRepositoryInterface::getDefaultSearchPage() Returns the default search page. Return value \Drupal\search\SearchPageInterface|bool The search page entity, or FALSE if no pages are active. File core/modules/search/src/SearchPageRepositoryInterface.php, line 40 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public function getDefaultSearchPage();

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();