You are here

public function IndexInterface::trackItemsDeleted in Search API 8

Deletes items from 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 items IDs.

2 methods override IndexInterface::trackItemsDeleted()
Index::trackItemsDeleted in src/Entity/Index.php
Deletes items from the index.
UnsavedIndexConfiguration::trackItemsDeleted in src/UnsavedIndexConfiguration.php
Deletes items from the index.

File

src/IndexInterface.php, line 689

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function trackItemsDeleted($datasource_id, array $ids);