--- apachesolr_search.module	2009-05-21 18:39:08.000000000 +0000
+++ apachesolr_search.module	2009-05-21 18:45:39.000000000 +0000
@@ -304,11 +304,12 @@ function apachesolr_process_response($re
       drupal_alter('apachesolr_search_result', $doc);
       // Copy code from comment_nodeapi().
       $extra[] = format_plural($doc->comment_count, '1 comment', '@count comments');
+			$base_path = substr($doc->url, 0, strlen($doc->url) - strlen($doc->path));
       $results[] = array(
-        'link' => url($doc->path),
+        'link' => $doc->url,
         'type' => apachesolr_search_get_type($doc->type),
         'title' => $doc->title,
-        'user' => theme('username', $doc),
+        'user' => $doc->uid ? l($doc->name, "$base_path"."user/$doc->uid") : theme('username', $doc),
         'date' => $doc->created,
         'node' => $doc,
         'extra' => $extra,
