public function IndexInterface::trackItemsUpdated in Search API 8
Updates items from a specific datasource present in the index.
Note that this method receives datasource-specific item IDs as the parameter, not containing the datasource prefix.
Parameters
string $datasource_id: The ID of the datasource to which the items belong.
array $ids: An array of datasource-specific item IDs.
2 methods override IndexInterface::trackItemsUpdated()
- Index::trackItemsUpdated in src/
Entity/ Index.php - Updates items from a specific datasource present in the index.
- UnsavedIndexConfiguration::trackItemsUpdated in src/
UnsavedIndexConfiguration.php - Updates items from a specific datasource present in the index.
File
- src/
IndexInterface.php, line 676
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function trackItemsUpdated($datasource_id, array $ids);