You are here

public function IndexInterface::reindex in Search API 8

Marks all items in this index for reindexing.

Throws

\Drupal\search_api\SearchApiException Thrown if an internal error prevented the operation from succeeding – for example, if the tracker couldn't be loaded.

2 methods override IndexInterface::reindex()
Index::reindex in src/Entity/Index.php
Marks all items in this index for reindexing.
UnsavedIndexConfiguration::reindex in src/UnsavedIndexConfiguration.php
Marks all items in this index for reindexing.

File

src/IndexInterface.php, line 698

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function reindex();