Index: schema.xml
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/schema.xml,v
retrieving revision 1.1.2.1.2.23
diff -u -p -r1.1.2.1.2.23 schema.xml
--- schema.xml	17 Feb 2009 23:14:09 -0000	1.1.2.1.2.23
+++ schema.xml	18 Feb 2009 19:05:24 -0000
@@ -251,7 +251,8 @@
    <field name="body" type="text" indexed="true" stored="true" termVectors="true"/>
    <field name="type" type="string" indexed="true" stored="true"/>
    <field name="type_name" type="string" indexed="true" stored="true"/>
-   <field name="path" type="text" indexed="true" stored="true" termVectors="true"/>
+   <field name="path" type="string" indexed="true" stored="true"/>
+   <field name="path_alias" type="text" indexed="true" stored="true" termVectors="true"/>
    <field name="uid"  type="integer" indexed="true" stored="true"/>
    <field name="name" type="text" indexed="true" stored="true" termVectors="true"/>
    <field name="sname" type="string" indexed="true" stored="false"/>
Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.108
diff -u -p -r1.1.2.12.2.108 apachesolr.module
--- apachesolr.module	17 Feb 2009 23:14:09 -0000	1.1.2.12.2.108
+++ apachesolr.module	18 Feb 2009 19:05:24 -0000
@@ -347,7 +347,6 @@ function apachesolr_node_to_document($ni
     $document->id = apachesolr_document_id($node->nid);
     $document->site = url(NULL, array('absolute' => TRUE));
     $document->hash = apachesolr_site_hash();
-    $document->url = url('node/' . $node->nid, array('absolute' => TRUE));
     $document->nid = $node->nid;
     $document->status = $node->status;
     $document->uid = $node->uid;
@@ -363,16 +362,18 @@ function apachesolr_node_to_document($ni
     $document->name = apachesolr_strip_ctl_chars($node->name);
     $document->language = $node->language;
 
+    $path = 'node/' . $node->nid;
+    $document->url = url($path, array('absolute' => TRUE));
+    $document->path = $path;
     // Path aliases can have important information about the content.
     // Add them to the index as well.
     if (function_exists('drupal_get_path_alias')) {
       // Add any path alias to the index, looking first for language specific
       // aliases but using language neutral aliases otherwise.
       $language = empty($node->language) ? '' : $node->language;
-      $path = 'node/' . $node->nid;
       $output = drupal_get_path_alias($path, $language);
       if ($output && $output != $path) {
-        $document->path = apachesolr_strip_ctl_chars($output);
+        $document->path_alias = apachesolr_strip_ctl_chars($output);
       }
     }
 
Index: apachesolr_search.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v
retrieving revision 1.1.2.6.2.70
diff -u -p -r1.1.2.6.2.70 apachesolr_search.module
--- apachesolr_search.module	17 Feb 2009 19:12:06 -0000	1.1.2.6.2.70
+++ apachesolr_search.module	18 Feb 2009 19:05:24 -0000
@@ -233,7 +233,7 @@ function apachesolr_search_search($op = 
             $extra += node_invoke_nodeapi($doc, 'search result');
             $extra['score'] = $doc->score;
             $results[] = array(
-              'link' => $doc->url,
+              'link' => url('node/' . $doc->nid),
               'type' => apachesolr_search_get_type($doc->type),
               'title' => $doc->title,
               'user' => theme('username', $doc),
