Index: modules/search/search.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.install,v
retrieving revision 1.15
diff -u -u -p -r1.15 search.install
--- modules/search/search.install	15 Mar 2008 12:31:29 -0000	1.15
+++ modules/search/search.install	13 May 2008 13:02:51 -0000
@@ -55,7 +55,7 @@ function search_schema() {
         'description' => t('Set to force node reindexing.'),
       ),
     ),
-    'unique keys' => array(
+    'indexes' => array(
       'sid_type' => array('sid', 'type'),
     ),
   );
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.253
diff -u -u -p -r1.253 system.install
--- modules/system/system.install	7 May 2008 19:34:24 -0000	1.253
+++ modules/system/system.install	13 May 2008 13:02:52 -0000
@@ -2995,6 +2995,12 @@ function system_update_7007() {
   return $ret;
 }
 
+function system_update_7008() {
+  $ret = array();
+  db_drop_unique_key($ret, 'search_dataset', 'sid_type');
+  db_add_index($ret, 'search_dataset', 'sid_type', array('sid', 'type'));
+  return $ret;
+}
 
 /**
  * @} End of "defgroup updates-6.x-to-7.x"
