public function SearchApiExternalDataSourceController::getChangedItems in Search API 7
Get a list of items that need to be indexed.
If possible, completely unindexed items should be returned before items that were indexed but later changed. Also, items that were changed longer ago should be favored.
Parameters
SearchApiIndex $index: The index for which changed items should be returned.
$limit: The maximum number of items to return. Negative values mean "unlimited".
Return value
array The IDs of items that need to be indexed for the given index.
Overrides SearchApiAbstractDataSourceController::getChangedItems
File
- includes/
datasource_external.inc, line 233 - Contains the SearchApiExternalDataSourceController class.
Class
- SearchApiExternalDataSourceController
- Base class for data source controllers for external data sources.
Code
public function getChangedItems(SearchApiIndex $index, $limit = -1) {
return array();
}