? solr.patch
Index: solr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/solr/solr.module,v
retrieving revision 1.1.2.39
diff -u -w -r1.1.2.39 solr.module
--- solr.module	5 Sep 2007 10:21:39 -0000	1.1.2.39
+++ solr.module	6 Oct 2007 12:42:26 -0000
@@ -180,7 +180,7 @@
   
   if (empty($data)) return TRUE;
   
-  $response = solr_post($type, '<add>' . implode('', $data) . '</add>');
+  $response = solr_post($type, implode('', $data));
   if ($response->code != 200){ // FIXME: result status in $response->data
     watchdog('solr', t('Error posting to Solr: ') . check_plain($response->data), WATCHDOG_ERROR);
     return FALSE;
