? apachesolr-menu-rebuild.patch
? show-more-cck.patch
Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.155.2.35
diff -u -p -r1.1.2.12.2.155.2.35 apachesolr.module
--- apachesolr.module	19 Nov 2009 18:05:44 -0000	1.1.2.12.2.155.2.35
+++ apachesolr.module	20 Nov 2009 10:40:10 -0000
@@ -1441,9 +1441,11 @@ function apachesolr_field_name_map($fiel
       'tags_a' => t('Body text inside links (A tags)'),
       'tid' => t('Taxonomy term IDs'),
     );
-    foreach(taxonomy_get_vocabularies() as $vocab) {
-      $map['ts_vid_'. $vocab->vid .'_names'] = t('Taxonomy term names only from the %name vocabulary', array('%name' => $vocab->name));
-      $map['im_vid_'. $vocab->vid] = t('Taxonomy term IDs from the %name vocabulary', array('%name' => $vocab->name));
+    if (module_exists('taxonomy')) {
+      foreach(taxonomy_get_vocabularies() as $vocab) {
+        $map['ts_vid_'. $vocab->vid .'_names'] = t('Taxonomy term names only from the %name vocabulary', array('%name' => $vocab->name));
+        $map['im_vid_'. $vocab->vid] = t('Taxonomy term IDs from the %name vocabulary', array('%name' => $vocab->name));
+      }
     }
     foreach (apachesolr_cck_fields() as $name => $field) {
       $map[apachesolr_index_key($field)] = t('CCK @type field %label', array('@type' => $field['index_type'], '%name' => $field['label']));
