? .svn
Index: apachesolr_commentsearch.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/contrib/apachesolr_commentsearch/Attic/apachesolr_commentsearch.info,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 apachesolr_commentsearch.info
--- apachesolr_commentsearch.info	17 Sep 2009 21:32:44 -0000	1.1.2.1
+++ apachesolr_commentsearch.info	2 Oct 2009 20:59:45 -0000
@@ -2,6 +2,7 @@
 name = Apache Solr comment search
 description = Treats comments as a content type allowing you to search them separately.
 dependencies[] = apachesolr_search
+dependencies[] = comment
 package = Apache Solr
 core = "6.x"
 php = 5.1.4
Index: apachesolr_commentsearch.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/contrib/apachesolr_commentsearch/Attic/apachesolr_commentsearch.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 apachesolr_commentsearch.module
--- apachesolr_commentsearch.module	17 Sep 2009 21:32:44 -0000	1.1.2.1
+++ apachesolr_commentsearch.module	2 Oct 2009 20:59:46 -0000
@@ -56,7 +56,9 @@ function apachesolr_commentsearch_node_t
 }
 
 function apachesolr_commentsearch_apachesolr_modify_query(&$query, &$params, $caller) {
-  $params['fl'] .= ',is_cid';
+  $fls = array_filter(explode(',', $params['fl']));
+  $fls[] = 'is_cid';
+  $params['fl'] =  implode(',', $fls);
 }
 
 function apachesolr_commentsearch_apachesolr_process_results(&$results) {
