function apachesolr_search_update_index in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 apachesolr_search.module \apachesolr_search_update_index()
Implementation of hook_update_index().
File
- ./
apachesolr_search.module, line 92 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_update_index() {
$cron_limit = variable_get('apachesolr_cron_limit', 50);
$rows = apachesolr_get_nodes_to_index('apachesolr_search', $cron_limit);
apachesolr_index_nodes($rows, 'apachesolr_search');
}