public function IndexTaskManagerInterface::addItemsOnce in Search API 8
Adds a single page of items to the tracker.
Parameters
\Drupal\search_api\IndexInterface $index: The search index.
Return value
bool TRUE if tracking for this index has been finished, FALSE otherwise.
Throws
\Drupal\search_api\SearchApiException Thrown if any error occurred while tracking items.
1 method overrides IndexTaskManagerInterface::addItemsOnce()
- IndexTaskManager::addItemsOnce in src/
Task/ IndexTaskManager.php - Adds a single page of items to the tracker.
File
- src/
Task/ IndexTaskManagerInterface.php, line 35
Class
- IndexTaskManagerInterface
- Defines the interface for the index task manager.
Namespace
Drupal\search_api\TaskCode
public function addItemsOnce(IndexInterface $index);