Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.256
diff -u -F^f -r1.256 search.module
--- modules/search/search.module	6 May 2008 12:18:50 -0000	1.256
+++ modules/search/search.module	11 May 2008 20:16:14 -0000
@@ -425,7 +425,7 @@ function search_index($sid, $type, $text
 
   // Multipliers for scores of words inside certain HTML tags.
   // Note: 'a' must be included for link ranking to work.
-  $tags = array('h1' => 25,
+  $tags = variable_get('search_tag_weights', array('h1' => 25,
                 'h2' => 18,
                 'h3' => 15,
                 'h4' => 12,
@@ -436,7 +436,7 @@ function search_index($sid, $type, $text
                 'i' => 3,
                 'strong' => 3,
                 'em' => 3,
-                'a' => 10);
+                'a' => 10));
 
   // Strip off all ignored tags to speed up processing, but insert space before/after
   // them to keep word boundaries.
