Index: modules/node/node.api.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.api.php,v
retrieving revision 1.63
diff -u -r1.63 node.api.php
--- modules/node/node.api.php	11 Feb 2010 08:58:55 -0000	1.63
+++ modules/node/node.api.php	26 Feb 2010 18:56:45 -0000
@@ -578,14 +578,20 @@
  * @param $node
  *   The node being displayed in a search result.
  *
- * @return
- *   Extra information to be displayed with search result.
+ * @return array
+ *   Extra information to be displayed with search result. This information
+ *   should be presented as an associative array. It will be concatenated
+ *   with the post information (last updated, author) in the default search
+ *   result theming.
+ *
+ * @see template_preprocess_search_result()
+ * @see search-result.tpl.php
  *
  * @ingroup node_api_hooks
  */
 function hook_node_search_result($node) {
   $comments = db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = :nid', array('nid' => $node->nid))->fetchField();
-  return format_plural($comments, '1 comment', '@count comments');
+  return array('comment' => format_plural($comments, '1 comment', '@count comments'));
 }
 
 /**
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.847
diff -u -r1.847 comment.module
--- modules/comment/comment.module	26 Feb 2010 16:55:18 -0000	1.847
+++ modules/comment/comment.module	26 Feb 2010 18:56:45 -0000
@@ -1277,7 +1277,7 @@
 function comment_node_search_result($node) {
   if ($node->comment != COMMENT_NODE_HIDDEN) {
     $comments = db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = :nid', array('nid' => $node->nid))->fetchField();
-    return format_plural($comments, '1 comment', '@count comments');
+    return array('comment' => format_plural($comments, '1 comment', '@count comments'));
   }
   return '';
 }
Index: modules/search/search-result.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search-result.tpl.php,v
retrieving revision 1.4
diff -u -r1.4 search-result.tpl.php
--- modules/search/search-result.tpl.php	30 Dec 2008 16:43:18 -0000	1.4
+++ modules/search/search-result.tpl.php	26 Feb 2010 18:56:45 -0000
@@ -25,8 +25,6 @@
  * - $info_split['date']: Last update of the node. Short formatted.
  * - $info_split['comment']: Number of comments output as "% comments", %
  *   being the count. Depends on comment.module.
- * - $info_split['upload']: Number of attachments output as "% attachments", %
- *   being the count. Depends on upload.module.
  *
  * Since $info_split is keyed, a direct print of the item is possible.
  * This array does not apply to user searches so it is recommended to check
