--- apachesolr.module	2008-12-31 20:14:40.000000000 +0100
+++ apachesolr.module	2009-01-16 13:20:15.000000000 +0100
@@ -469,6 +469,7 @@ function apachesolr_node_to_document($ni
     $document->site = url(NULL, array('absolute' => TRUE));
     $document->hash = apachesolr_site_hash();
     $document->url = url('node/' . $node->nid, array('absolute' => TRUE));
+    $document->relative_url = url('node/' . $node->nid);
     $document->nid = $node->nid;
     $document->status = $node->status;
     $document->uid = $node->uid;
--- apachesolr_search.module	2008-12-31 20:14:40.000000000 +0100
+++ apachesolr_search.module	2009-01-16 13:41:05.000000000 +0100
@@ -82,7 +82,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,url,relative_url,uid,name',
           'rows' => variable_get('apachesolr_rows', 10),
           'facet' => 'true',
           'facet.mincount' => 1,
@@ -217,7 +217,7 @@ function apachesolr_search_search($op = 
             $extra += node_invoke_nodeapi($doc, 'search result');
             $extra['score'] = $doc->score;
             $results[] = array(
-              'link' => $doc->url,
+              'link' => $doc->relative_url,
               'type' => node_get_types('name', $doc),
               'title' => $doc->title,
               'user' => theme('username', $doc),
--- schema.xml	2008-12-23 03:19:41.000000000 +0100
+++ schema.xml	2009-01-16 13:39:30.000000000 +0100
@@ -245,6 +245,7 @@
    <field name="site" type="string" indexed="true" stored="true"/>
    <field name="hash" type="string" indexed="true" stored="true"/>
    <field name="url" type="string" indexed="true" stored="true"/>
+   <field name="relative_url" type="string" indexed="true" stored="true"/>
    <field name="title" type="text" indexed="true" stored="true" termVectors="true" omitNorms="true"/>
    <field name="stitle" type="string" indexed="true" stored="true"/>
    <field name="body" type="text" indexed="true" stored="true" termVectors="true" compressed="true"/>
