public function Index::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.
Overrides IndexInterface::trackItemsUpdated
File
- src/
Entity/ Index.php, line 1065
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
public function trackItemsUpdated($datasource_id, array $ids) {
$this
->trackItemsInsertedOrUpdated($datasource_id, $ids, __FUNCTION__);
}