You are here

function apachesolr_get_last_index_updated in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \apachesolr_get_last_index_updated()
  2. 6.3 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 932
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);
}