--- modules/search/search.module.1.250.2.6	2009-12-19 23:37:18.000000000 +0000
+++ modules/search/search.module	2009-12-19 23:40:26.000000000 +0000
@@ -499,12 +499,8 @@ function search_index($sid, $type, $text
             if (preg_match('!(?:node|book)/(?:view/)?([0-9]+)!i', $path, $match)) {
               $linknid = $match[1];
               if ($linknid > 0) {
-                // Note: ignore links to uncachable nodes to avoid redirect bugs.
-                $node = db_fetch_object(db_query('SELECT n.title, n.nid, n.vid, r.format FROM {node} n INNER JOIN {node_revisions} r ON n.vid = r.vid WHERE n.nid = %d', $linknid));
-                if (filter_format_allowcache($node->format)) {
-                  $link = TRUE;
-                  $linktitle = $node->title;
-                }
+                $link = TRUE;
+                $linktitle = db_result(db_query('SELECT n.title FROM {node} n WHERE n.nid = %d', $linknid));
               }
             }
           }
