SearchDateQueryAlterHooks::querySearchNodeSearchAlter |
function |
core/modules/search/tests/modules/search_date_query_alter/src/Hook/SearchDateQueryAlterHooks.php |
Implements hook_query_TAG_alter(). |
SearchExactTest::testExactQuery |
function |
core/modules/search/tests/src/Functional/SearchExactTest.php |
Tests that the correct number of pager links are found for both keywords and phrases. |
SearchInterface::buildSearchUrlQuery |
function |
core/modules/search/src/Plugin/SearchInterface.php |
Builds the URL GET query parameters array for search. |
SearchMatchTest::_testQueryMatching |
function |
core/modules/search/tests/src/Kernel/SearchMatchTest.php |
Tests the matching abilities of the engine. |
SearchMatchTest::_testQueryScores |
function |
core/modules/search/tests/src/Kernel/SearchMatchTest.php |
Tests the scoring abilities of the engine. |
SearchPageRepository::getQuery |
function |
core/modules/search/src/SearchPageRepository.php |
Returns an entity query instance. |
SearchPageRepositoryTest::$query |
property |
core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php |
The entity query object. |
SearchPluginBase::buildSearchUrlQuery |
function |
core/modules/search/src/Plugin/SearchPluginBase.php |
Builds the URL GET query parameters array for search. |
SearchQuery |
class |
core/modules/search/src/SearchQuery.php |
Search query extender and helper functions. |
SearchQuery |
class |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/SearchQuery.php |
CoreFakeWithAllCustomClasses implementation of \Drupal\search\SearchQuery. |
SearchQuery.php |
file |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/SearchQuery.php |
|
SearchQuery.php |
file |
core/modules/search/src/SearchQuery.php |
|
SearchQuery::$conditions |
property |
core/modules/search/src/SearchQuery.php |
Conditions that are used for exact searches. |
SearchQuery::$executedPrepare |
property |
core/modules/search/src/SearchQuery.php |
Indicates whether the preparation step has been executed. |
SearchQuery::$keys |
property |
core/modules/search/src/SearchQuery.php |
Parsed-out positive and negative search keys. |
SearchQuery::$matches |
property |
core/modules/search/src/SearchQuery.php |
Indicates how many matches for a search query are necessary. |
SearchQuery::$multiply |
property |
core/modules/search/src/SearchQuery.php |
Multipliers for score expressions. |
SearchQuery::$normalize |
property |
core/modules/search/src/SearchQuery.php |
Multiplier to normalize the keyword score. |
SearchQuery::$relevance_count |
property |
core/modules/search/src/SearchQuery.php |
|
SearchQuery::$scores |
property |
core/modules/search/src/SearchQuery.php |
The word score expressions. |
SearchQuery::$scoresArguments |
property |
core/modules/search/src/SearchQuery.php |
Arguments for the score expressions. |
SearchQuery::$searchExpression |
property |
core/modules/search/src/SearchQuery.php |
The keywords and advanced search options that are entered by the user. |
SearchQuery::$simple |
property |
core/modules/search/src/SearchQuery.php |
Indicates whether the query conditions are simple or complex (LIKE). |
SearchQuery::$status |
property |
core/modules/search/src/SearchQuery.php |
A bitmap of status conditions, described in getStatus(). |
SearchQuery::$type |
property |
core/modules/search/src/SearchQuery.php |
The type of search (search type). |
SearchQuery::$words |
property |
core/modules/search/src/SearchQuery.php |
Array of positive search words. |
SearchQuery::addScore |
function |
core/modules/search/src/SearchQuery.php |
Adds a custom score expression to the search query. |
SearchQuery::countQuery |
function |
core/modules/search/src/SearchQuery.php |
Builds the default count query for SearchQuery. |
SearchQuery::execute |
function |
core/modules/search/src/SearchQuery.php |
Executes the search. |
SearchQuery::EXPRESSIONS_IGNORED |
constant |
core/modules/search/src/SearchQuery.php |
Indicates that part of the search expression was ignored. |
SearchQuery::getStatus |
function |
core/modules/search/src/SearchQuery.php |
Returns the query status bitmap. |
SearchQuery::LOWER_CASE_OR |
constant |
core/modules/search/src/SearchQuery.php |
Indicates that lower-case "or" was in the search expression. |
SearchQuery::NO_KEYWORD_MATCHES |
constant |
core/modules/search/src/SearchQuery.php |
Indicates that no positive keyword matches were found. |
SearchQuery::NO_POSITIVE_KEYWORDS |
constant |
core/modules/search/src/SearchQuery.php |
Indicates no positive keywords were in the search expression. |
SearchQuery::parseSearchExpression |
function |
core/modules/search/src/SearchQuery.php |
Parses the search query into SQL conditions. |
SearchQuery::parseWord |
function |
core/modules/search/src/SearchQuery.php |
Parses a word or phrase for parseQuery(). |
SearchQuery::preExecute |
function |
core/modules/search/src/SearchQuery.php |
Generic preparation and validation for a SELECT query. |
SearchQuery::prepareAndNormalize |
function |
core/modules/search/src/SearchQuery.php |
Prepares the query and calculates the normalization factor. |
SearchQuery::searchExpression |
function |
core/modules/search/src/SearchQuery.php |
Sets the search query expression. |
SearchQueryAlterHooks |
class |
core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php |
Hook implementations for search_query_alter. |
SearchQueryAlterHooks.php |
file |
core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php |
|
SearchQueryAlterHooks::querySearchNodeSearchAlter |
function |
core/modules/search/tests/modules/search_query_alter/src/Hook/SearchQueryAlterHooks.php |
Implements hook_query_TAG_alter(). |
SearchQueryAlterTest |
class |
core/modules/search/tests/src/Functional/SearchQueryAlterTest.php |
Tests that the node search query can be altered via the query alter hook. |
SearchQueryAlterTest.php |
file |
core/modules/search/tests/src/Functional/SearchQueryAlterTest.php |
|
SearchQueryAlterTest::$defaultTheme |
property |
core/modules/search/tests/src/Functional/SearchQueryAlterTest.php |
The theme to install as the default for testing. |
SearchQueryAlterTest::$modules |
property |
core/modules/search/tests/src/Functional/SearchQueryAlterTest.php |
Modules to install. |
SearchQueryAlterTest::testQueryAlter |
function |
core/modules/search/tests/src/Functional/SearchQueryAlterTest.php |
Tests that the query alter works. |
search_date_query_alter.info.yml |
file |
core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml |
core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml |
search_date_query_alter.module |
file |
core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module |
|
search_date_query_alter_query_search_node_search_alter |
function |
core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.module |
Implements hook_query_TAG_alter(). |