You are here

function apachesolr_search_search_reset in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_search_reset()

Implements hook_search_reset().

File

./apachesolr_search.module, line 773
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);
}