diff -r 2085dc938526 search_config.module
--- a/search_config.module	Tue Sep 16 19:26:23 2008 -0500
+++ b/search_config.module	Tue Sep 16 20:02:56 2008 -0500
@@ -43,6 +43,19 @@ function search_config_perm() {
  * Implementation of hook_form_alter()
  */
 function search_config_form_alter($form_id, &$form) {
+  // Present the user with the appropriate search results tab as defined by 
+  // variable "search_config_default_search" (labeled "Default Search")
+  // in the "Advanced search settings" fieldset in admin/settings/search
+  if ($form_id == 'search_theme_form') {
+    $form['#submit'] = array();
+    $form['#submit']['search_form_submit'] = array();
+    $form['module']['#value'] = variable_get('search_config_default_search', 'node');
+    $form['module']['#type'] = 'hidden';
+    $form['processed_keys'] = $form['search_theme_form_keys'];    
+    $form['processed_keys']['#weight'] = -1;    
+    unset($form['search_theme_form_keys']);
+  }
+
   if ($form_id == 'search_form') {
     if (arg(1) == 'node') {
       
@@ -163,6 +176,21 @@ function search_config_search($op) {
         '#collapsed' => TRUE,
       );
 
+      // Search results default tab
+      $description = t('Which tab on the search results will be presented by default. The standard Drupal installation defaults to node_search ("Content" tab). This option allows you to default to the "User" tab or any other tab from contributed search modules, e.g. Apachesolr which implements a tab called "Search" to display its results');
+      
+      $searches = drupal_map_assoc(module_implements('search', false, false));
+      unset ($searches['search_config']);
+      
+      $form['search_config']['search_config_default_search'] = array(
+        '#type' => 'radios',
+        '#title' => t('Default Search'),
+        '#options' => $searches,
+        '#multiple' => FALSE,
+        '#default_value' => variable_get('search_config_default_search', 'node'),
+        '#description' => t($description)
+      );
+       
       // Keyword boxes:
       $form['search_config']['keywords'] = array(
         '#type' => 'fieldset',
