You are here

public function IndexInterface::stopBatchTracking in Search API 8

Stop the latest initialized "batch tracking" mode for the index.

Note that the index might remain in "batch tracking" mode if startBatchTracking() was called multiple times. You have to take care to always call the two methods the same number of times.

Return value

$this

Throws

\Drupal\search_api\SearchApiException Thrown if the index wasn't in "batch tracking" mode before.

See also

\Drupal\search_api\IndexInterface::startBatchTracking

2 methods override IndexInterface::stopBatchTracking()
Index::stopBatchTracking in src/Entity/Index.php
Stop the latest initialized "batch tracking" mode for the index.
UnsavedIndexConfiguration::stopBatchTracking in src/UnsavedIndexConfiguration.php
Stop the latest initialized "batch tracking" mode for the index.

File

src/IndexInterface.php, line 650

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function stopBatchTracking();