Where is $node->rendered being set? Given the following code:

function hook_search_execute($keys = NULL, $conditions = NULL) {
  // Build matching conditions
  $query = db_select('search_index', 'i', array('target' =&gt; 'slave'))-&gt;extend('SearchQuery')-&gt;extend('PagerDefault');
  $query-&gt;join('node', 'n', 'n.nid = i.sid');
  $query
    -&gt;condition('n.status', 1)
    -&gt;addTag('node_access')
    -&gt;searchExpression($keys, 'node');

  // Insert special keywords.
  $query-&gt;setOption('type', 'n.type');
  $query-&gt;setOption('language', 'n.language');
  if ($query-&gt;setOption('term', 'ti.tid')) {
    $query-&gt;join('taxonomy_index', 'ti', 'n.nid = ti.nid');
  }
  // Only continue if the first pass query matches.
  if (!$query-&gt;executeFirstPass()) {
    return array();
  }

  // Add the ranking expressions.
  _node_rankings($query);

  // Load results.
  $find = $query
    -&gt;limit(10)
    -&gt;execute();
  $results = array();
  foreach ($find as $item) {
    // Build the node body.
    $node = node_load($item-&gt;sid);
    node_build_content($node, 'search_result');
    $node-&gt;body = drupal_render($node-&gt;content);

    // Fetch comments for snippet.
    $node-&gt;rendered .= ' ' . module_invoke('comment', 'node_update_index', $node);
    // Fetch terms for snippet.
    $node-&gt;rendered .= ' ' . module_invoke('taxonomy', 'node_update_index', $node);

    $extra = module_invoke_all('node_search_result', $node);

    $results[] = array(
      'link' =&gt; url('node/' . $item-&gt;sid, array('absolute' =&gt; TRUE)),
      'type' =&gt; check_plain(node_type_get_name($node)),
      'title' =&gt; $node-&gt;title,
      'user' =&gt; theme('username', array('account' =&gt; $node)),
      'date' =&gt; $node-&gt;changed,
      'node' =&gt; $node,
      'extra' =&gt; $extra,
      'score' =&gt; $item-&gt;calculated_score,
      'snippet' =&gt; search_excerpt($keys, $node-&gt;body),
    );
  }
  return $results;
}


Where does $node-&gt;rendered come from? Where is it defined and what does it contain?
$node-&gt;rendered is set in node_search_execute():

$build = node_view($node, 'search_result');
unset($build['#theme']);
$node-&gt;rendered = drupal_render($build);


It contains the rendered node display for the search_result view mode.