You are here

public function IndexTaskManagerInterface::addItemsAll in Search API 8

Tracks all remaining items for the given index.

Since no kind of batch processing is used, this might run out of memory or execution time on larger sites.

Parameters

\Drupal\search_api\IndexInterface $index: The search index.

Throws

\Drupal\search_api\SearchApiException Thrown if any error occurred while tracking items.

1 method overrides IndexTaskManagerInterface::addItemsAll()
IndexTaskManager::addItemsAll in src/Task/IndexTaskManager.php
Tracks all remaining items for the given index.

File

src/Task/IndexTaskManagerInterface.php, line 57

Class

IndexTaskManagerInterface
Defines the interface for the index task manager.

Namespace

Drupal\search_api\Task

Code

public function addItemsAll(IndexInterface $index);