function apachesolr_search_search_reset in Apache Solr Search 8
Same name and namespace in other branches
- 7 apachesolr_search.module \apachesolr_search_search_reset()
Implements hook_search_reset().
File
- ./
apachesolr_search.module, line 732 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_search_reset() {
module_load_include('inc', 'apachesolr', 'apachesolr.index');
$env_id = apachesolr_default_environment();
apachesolr_index_mark_for_reindex($env_id);
}