You are here

public function TrackerInterface::getRemainingItems in Search API 8

Retrieves a list of item IDs that need to be indexed.

Parameters

int $limit: (optional) The maximum number of items to return. Or a negative value to return all remaining items.

string|null $datasource_id: (optional) If specified, only items of the datasource with that ID are retrieved.

Return value

string[] The IDs of items that still need to be indexed.

2 methods override TrackerInterface::getRemainingItems()
Basic::getRemainingItems in src/Plugin/search_api/tracker/Basic.php
Retrieves a list of item IDs that need to be indexed.
TestTracker::getRemainingItems in tests/search_api_test/src/Plugin/search_api/tracker/TestTracker.php
Retrieves a list of item IDs that need to be indexed.

File

src/Tracker/TrackerInterface.php, line 86

Class

TrackerInterface
Defines an interface for index tracker plugins.

Namespace

Drupal\search_api\Tracker

Code

public function getRemainingItems($limit = -1, $datasource_id = NULL);