You are here

function search_api_track_item_indexed in Search API 7

Marks items as successfully indexed for the specified index.

Parameters

SearchApiIndex $index: The index on which items were indexed.

array $item_ids: The ids of the indexed items.

1 call to search_api_track_item_indexed()
search_api_index_specific_items in ./search_api.module
Indexes the specified items on the given index.

File

./search_api.module, line 1355
Provides a flexible framework for implementing search services.

Code

function search_api_track_item_indexed(SearchApiIndex $index, array $item_ids) {
  $index
    ->datasource()
    ->trackItemIndexed($item_ids, $index);
  module_invoke_all('search_api_items_indexed', $index, $item_ids);
}