Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.181
diff -u -p -r1.1.2.12.2.181 apachesolr.module
--- apachesolr.module	27 Dec 2009 16:47:37 -0000	1.1.2.12.2.181
+++ apachesolr.module	27 Dec 2009 16:51:39 -0000
@@ -1135,7 +1135,10 @@ function apachesolr_get_solr($host = NUL
     list($module, $filepath, $class) = variable_get('apachesolr_service_class', array('apachesolr', 'Drupal_Apache_Solr_Service.php', 'Drupal_Apache_Solr_Service'));
     include_once(drupal_get_path('module', $module) .'/'. $filepath);
     try {
-      $solr_cache[$host][$port][$path] = new $class($host, $port, $path);
+      $solr = new $class($host, $port, $path);
+      // Set some non-default behaviors.
+      $solr->setCollapseSingleValueArrays(FALSE);
+      $solr_cache[$host][$port][$path] = $solr;
     }
     catch (Exception $e) {
       watchdog('Apache Solr', nl2br(check_plain($e->getMessage())), NULL, WATCHDOG_ERROR);
