Index: CHANGELOG.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/CHANGELOG.txt,v retrieving revision 1.1.2.112.2.20 diff -u -p -r1.1.2.112.2.20 CHANGELOG.txt --- CHANGELOG.txt 9 Jan 2010 01:01:03 -0000 1.1.2.112.2.20 +++ CHANGELOG.txt 21 Jan 2010 09:21:27 -0000 @@ -5,6 +5,7 @@ Apache Solr Search Integration x.x-x.x, Apache Solr Search Integration 5.x-2.x, 2010-xx-xx ------------------------------ +#623046 by robertDouglass, Make the results that come back from a search more useful. #679522 by pwolanin, Add gettableFiles to solr admin interface config. #672518 by robertDouglass: Fixed Add new trie prefixes to helper function . Index: apachesolr.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v retrieving revision 1.1.2.12.2.161.2.11 diff -u -p -r1.1.2.12.2.161.2.11 apachesolr.module --- apachesolr.module 2 Jan 2010 13:49:11 -0000 1.1.2.12.2.161.2.11 +++ apachesolr.module 21 Jan 2010 09:21:27 -0000 @@ -228,7 +228,7 @@ function apachesolr_comment($edit, $op) case 'delete': case 'publish': case 'unpublish': - // TODO: do we want to skip this if we are excluding comments + // TODO: do we want to skip this if we are excluding comments // from the index for this node type? apachesolr_mark_node($edit['nid']); break; Index: apachesolr_search.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v retrieving revision 1.1.2.6.2.111.4.9 diff -u -p -r1.1.2.6.2.111.4.9 apachesolr_search.module --- apachesolr_search.module 19 Dec 2009 10:32:38 -0000 1.1.2.6.2.111.4.9 +++ apachesolr_search.module 21 Jan 2010 09:21:27 -0000 @@ -434,6 +434,10 @@ function apachesolr_process_response($re $doc->changed = strtotime($doc->changed); // Allow modules to alter each document. drupal_alter('apachesolr_search_result', $doc); + $fields = array(); + foreach ($doc->getFieldNames() as $field_name) { + $fields[$field_name] = $doc->getField($field_name); + } // Copy code from comment_nodeapi(). $extra[] = format_plural($doc->comment_count, '1 comment', '@count comments'); $results[] = array( @@ -446,6 +450,7 @@ function apachesolr_process_response($re 'extra' => $extra, 'score' => $doc->score, 'snippet' => $snippet, + 'fields' => $fields, ); }