--- apachesolr.module	2008-12-31 20:14:40.000000000 +0100
+++ apachesolr.module	2009-01-16 17:06:44.000000000 +0100
@@ -34,6 +34,12 @@ function apachesolr_menu() {
     'weight'             => -8,
     'type'               => MENU_LOCAL_TASK,
   );
+  $form['apachesolr_wildcard'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Solr wildcard'),
+    '#default_value' => variable_get('apachesolr_wildcard', '*'),
+    '#description' => t('Wildcard to show all results from the solr index.'),
+  );
   return $items;
 }
 
@@ -978,6 +984,10 @@ function apachesolr_current_query($keys 
   if (empty($keys)) {
     $keys = search_get_keys();
   }
+  //when wildcard is used, use empty $keys
+  if ($keys == variable_get('apachesolr_wildcard', '*')) {
+    $keys = '';
+  }
   if (empty($filters) && !empty($_GET['filters'])) {
     $filters = check_plain($_GET['filters']);
   }
