function apachesolr_clear_index_confirm_submit in Apache Solr Search 6.2
Same name and namespace in other branches
- 5.2 apachesolr.admin.inc \apachesolr_clear_index_confirm_submit()
- 6 apachesolr.admin.inc \apachesolr_clear_index_confirm_submit()
Submit function for the "Re-index all content" confirmation form.
See also
apachesolr_clear_index_confirm()
File
- ./
apachesolr.admin.inc, line 449 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_clear_index_confirm_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/settings/apachesolr/index';
apachesolr_rebuild_index_table();
drupal_set_message(t('All the content on your site is queued for indexing. You can wait for it to be indexed during cron runs, or you can manually reindex it.'), 'warning');
}