function apachesolr_get_last_index_updated in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.module \apachesolr_get_last_index_updated()
- 7 apachesolr.module \apachesolr_get_last_index_updated()
Get the timestamp of the last index update.
Return value
integer (timestamp)
1 call to apachesolr_get_last_index_updated()
- apachesolr_cron in ./apachesolr.module 
- Implements hook_cron(). Runs the indexing process on all writable environments or just a given environment.
File
- ./apachesolr.module, line 937 
- Integration with the Apache Solr search application.
Code
function apachesolr_get_last_index_updated($env_id) {
  return apachesolr_environment_variable_get($env_id, 'apachesolr_index_updated', 0);
}