public function TrackerInterface::getIndexedItemsCount in Search API 8
Retrieves the number of indexed items for this index.
Parameters
string|null $datasource_id: (optional) The datasource to filter the total number of indexed items by.
Return value
int The number of items that have been indexed in their latest state for this index, or for the given datasource on this index.
2 methods override TrackerInterface::getIndexedItemsCount()
- Basic::getIndexedItemsCount in src/
Plugin/ search_api/ tracker/ Basic.php - Retrieves the number of indexed items for this index.
- TestTracker::getIndexedItemsCount in tests/
search_api_test/ src/ Plugin/ search_api/ tracker/ TestTracker.php - Retrieves the number of indexed items for this index.
File
- src/
Tracker/ TrackerInterface.php, line 110
Class
- TrackerInterface
- Defines an interface for index tracker plugins.
Namespace
Drupal\search_api\TrackerCode
public function getIndexedItemsCount($datasource_id = NULL);