Search for index

  1. Search 7.x for index
  2. Search 9.5.x for index
  3. Search 10.3.x for index
  4. Search 11.x for index
  5. Other projects
Title Object type File name Summary
Schema::dropIndex function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Drop an index.
Schema::dropIndex function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Drop an index.
Schema::dropIndex function core/lib/Drupal/Core/Database/Schema.php Drop an index.
Schema::getNormalizedIndexes function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Gets normalized indexes from a table specification.
Schema::indexExists function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Schema.php Checks if an index exists in the given table.
Schema::introspectIndexSchema function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/lib/Drupal/Core/Database/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::shortenIndex function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Helper function for normalizeIndexes().
Schema::_createIndexSql function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
SchemaIntrospectionTestTrait::assertIndexOnColumns function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Checks that an index covering exactly the given column names exists.
SchemaIntrospectionTestTrait::assertNoIndexOnColumns function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Checks that an index covering exactly the given column names doesn't exist.
SchemaIntrospectionTestTrait::getIndexColumnNames function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Returns the column names used by the indexes of a table.
SchemaTest::testIndexLength function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests that indexes on string fields are limited to 191 characters on MySQL.
SchemaTest::testIntrospectIndexSchema function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php @covers \Drupal\Core\Database\Driver\mysql\Schema::introspectIndexSchema
@covers \Drupal\Core\Database\Driver\pgsql\Schema::introspectIndexSchema
@covers \Drupal\Core\Database\Driver\sqlite\Schema::introspectIndexSchema
search.index service core/modules/search/search.services.yml Drupal\search\SearchIndex
SearchDeprecationTest::testIndex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::index() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testMarkForReindex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_mark_for_reindex() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::markForReindex() instead. See https://www.drupal.org/node/3075696
SearchIndex class core/modules/search/src/SearchIndex.php Provides search index management functions.
SearchIndex.php file core/modules/search/src/SearchIndex.php
SearchIndex::$cacheTagsInvalidator property core/modules/search/src/SearchIndex.php The cache tags invalidator.
SearchIndex::$configFactory property core/modules/search/src/SearchIndex.php The config factory.
SearchIndex::$connection property core/modules/search/src/SearchIndex.php The database connection.
SearchIndex::$replica property core/modules/search/src/SearchIndex.php The database replica connection.
SearchIndex::clear function core/modules/search/src/SearchIndex.php Clears either a part of, or the entire search index.
SearchIndex::index function core/modules/search/src/SearchIndex.php Updates the full-text search index for a particular item.
SearchIndex::markForReindex function core/modules/search/src/SearchIndex.php Changes the timestamp on indexed items to 'now' to force reindexing.
SearchIndex::updateWordWeights function core/modules/search/src/SearchIndex.php Updates the {search_total} database table.
SearchIndex::__construct function core/modules/search/src/SearchIndex.php SearchIndex constructor.
SearchIndexException class core/modules/search/src/Exception/SearchIndexException.php Exception thrown for search index errors.
SearchIndexException.php file core/modules/search/src/Exception/SearchIndexException.php
SearchIndexingInterface interface core/modules/search/src/Plugin/SearchIndexingInterface.php Defines an optional interface for SearchPlugin objects using an index.
SearchIndexingInterface.php file core/modules/search/src/Plugin/SearchIndexingInterface.php
SearchIndexingInterface::indexClear function core/modules/search/src/Plugin/SearchIndexingInterface.php Clears the search index for this plugin.
SearchIndexingInterface::indexStatus function core/modules/search/src/Plugin/SearchIndexingInterface.php Reports the status of indexing.
SearchIndexingInterface::markForReindex function core/modules/search/src/Plugin/SearchIndexingInterface.php Marks the search index for reindexing for this plugin.
SearchIndexingInterface::updateIndex function core/modules/search/src/Plugin/SearchIndexingInterface.php Updates the search index for this plugin.
SearchIndexInterface interface core/modules/search/src/SearchIndexInterface.php Provides search index management functions.
SearchIndexInterface.php file core/modules/search/src/SearchIndexInterface.php
SearchIndexInterface::clear function core/modules/search/src/SearchIndexInterface.php Clears either a part of, or the entire search index.
SearchIndexInterface::index function core/modules/search/src/SearchIndexInterface.php Updates the full-text search index for a particular item.
SearchIndexInterface::markForReindex function core/modules/search/src/SearchIndexInterface.php Changes the timestamp on indexed items to 'now' to force reindexing.
SearchIndexInterface::updateWordWeights function core/modules/search/src/SearchIndexInterface.php Updates the {search_total} database table.
SearchMultilingualEntityTest::assertIndexCounts function core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php Verifies the indexing status counts.
SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeChange function core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php Tests that the search index info is properly updated when a node changes.
SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion function core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php Tests that the search index info is updated when a node is deleted.

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