Index: taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.363
diff -u -p -r1.363 taxonomy.module
--- taxonomy.module	22 Jun 2007 08:46:15 -0000	1.363
+++ taxonomy.module	28 Jun 2007 16:52:16 -0000
@@ -1344,8 +1344,12 @@ function taxonomy_nodeapi($node, $op, $a
  */
 function taxonomy_node_update_index(&$node) {
   $output = array();
-  foreach ($node->taxonomy as $term) {
+  foreach ($node->taxonomy as $key => $term) {
     $output[] = $term->name;
+    $synonyms = taxonomy_get_synonyms($key);
+    foreach($synonyms as $synonym){
+      $output[] = $synonym;
+    }
   }
   if (count($output)) {
     return '<strong>('. implode(', ', $output) .')</strong>';
