diff -up apachesolr/apachesolr.module /home/rajinder/Desktop/apachesolr/apachesolr.module
--- apachesolr/apachesolr.module	2008-08-12 15:00:52.000000000 -0700
+++ /home/rajinder/Desktop/apachesolr/apachesolr.module	2008-07-19 07:22:43.000000000 -0700
@@ -59,13 +59,6 @@ function apachesolr_settings() {
     '#options' => $options,
     '#description' => t('The number of results that will be shown per page.'),
     );
-  $form['apachesolr_failure'] = array(
-    '#type' => 'select',
-    '#title' => t('On failure'),
-    '#options' => array(t('Show error'), t('Show Drupal search results'), t('Show no results')), 
-    '#default_value' => variable_get('apachesolr_failure', APACHESOLR_FAILURE_SHOWERROR),
-    '#description' => t('What to display if Apache Solr search is not available'),
-    );  
   return system_settings_form($form);
 }
 
diff -up apachesolr/apachesolr_search.module /home/rajinder/Desktop/apachesolr/apachesolr_search.module
--- apachesolr/apachesolr_search.module	2008-08-12 16:29:57.000000000 -0700
+++ /home/rajinder/Desktop/apachesolr/apachesolr_search.module	2008-07-19 07:22:43.000000000 -0700
@@ -108,29 +108,8 @@ function apachesolr_search_search($op = 
 
       } // try
       catch (Exception $e) {
-        apachesolr_failure($query->get_query());
         watchdog('Apache Solr', $e->getMessage(), WATCHDOG_ERROR);
       }
 
   } // switch
 }
-
-function apachesolr_failure($querystring) {
-  define('APACHESOLR_FAILURE_SHOWERROR', 0x0000);
-  define('APACHESOLR_FAILURE_SHOWDRUPALRESULTS', 0x0001);
-  define('APACHESOLR_FAILURE_SHOWNORESULTS', 0x0002);
-  
-  $fail_rule = variable_get('apachesolr_failure', APACHESOLR_FAILURE_SHOWERROR);
-  
-  switch ($fail_rule) {
-    case APACHESOLR_FAILURE_SHOWERROR:
-      drupal_set_message('The Apache Solr search engine is not available.  Please contact your site administrator', 'error');
-      break;
-    case APACHESOLR_FAILURE_SHOWDRUPALRESULTS:
-      drupal_goto("search/node/". $querystring);
-      break;
-    case APACHESOLR_FAILURE_SHOWNORESULTS:
-      return;
-      break;
-  }
-}
Common subdirectories: apachesolr/contrib and /home/rajinder/Desktop/apachesolr/contrib
Only in apachesolr: CVS
Only in apachesolr: mydiff
Common subdirectories: apachesolr/SolrPhpClient and /home/rajinder/Desktop/apachesolr/SolrPhpClient
Common subdirectories: apachesolr/tests and /home/rajinder/Desktop/apachesolr/tests
