Index: apachesolr_search.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v
retrieving revision 1.1.2.6.2.88
diff -u -p -r1.1.2.6.2.88 apachesolr_search.module
--- apachesolr_search.module	30 Apr 2009 17:38:41 -0000	1.1.2.6.2.88
+++ apachesolr_search.module	4 May 2009 14:09:29 -0000
@@ -105,7 +105,7 @@ function apachesolr_search_search($op = 
         $results = array();
 
         $params = array(
-          'fl' => 'id,nid,title,comment_count,type,created,changed,score,url,uid,name',
+          'fl' => 'id,nid,title,comment_count,type,created,changed,score,path,url,uid,name',
           'rows' => variable_get('apachesolr_rows', 10),
           'facet' => 'true',
           'facet.mincount' => 1,
@@ -279,7 +279,7 @@ function apachesolr_search_search($op = 
             // Copy code from comment_nodeapi().
             $extra[] = format_plural($doc->comment_count, '1 comment', '@count comments');
             $results[] = array(
-              'link' => url('node/' . $doc->nid),
+              'link' => url($doc->path),
               'type' => apachesolr_search_get_type($doc->type),
               'title' => $doc->title,
               'user' => theme('username', $doc),
