From 0a22230042b2223fca6a9f30958fe1462243760f Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 4 Sep 2013 09:40:13 -0400
Subject: [PATCH] Disabled stats core by default.

---
 config/vufind/config.ini | 3 +++
 solr/solr.xml            | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/vufind/config.ini b/config/vufind/config.ini
index 89073a88895..9a7092060fc 100644
--- a/config/vufind/config.ini
+++ b/config/vufind/config.ini
@@ -217,6 +217,9 @@ ils_encryption_key = false
 
 ; When using the Solr mode, specify the address of a Solr server containing a
 ; "stats" core here; if no URL is specified, [Index]/url below will be used.
+;
+; Note: The stats core is disabled by default -- you will need to edit solr/solr.xml
+; to turn it on.
 ;solr            = http://localhost:8080/solr
 
 ; When using the File mode, specify a directory for saving stat files here:
diff --git a/solr/solr.xml b/solr/solr.xml
index 41f6d035aef..243b0052335 100644
--- a/solr/solr.xml
+++ b/solr/solr.xml
@@ -2,7 +2,7 @@
   <cores adminPath="/admin/multicore">
     <core name="biblio" instanceDir="biblio"/>
     <core name="authority" instanceDir="authority"/>
-    <core name="stats" instanceDir="stats"/>
+    <!-- uncomment to enable stats core: <core name="stats" instanceDir="stats"/> -->
     <!-- uncomment to enable website core: <core name="website" instanceDir="website"/> -->
     <!-- uncomment to enable reserves core: <core name="reserves" instanceDir="reserves"/> -->
   </cores>
-- 
GitLab