Apache Lucene open-source search software
SOLR-10088: Installer script does not put zoo.cfg in SOLR_HOME
Jan Høydahl59433bb460c2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 2ffcc460dff..ea56cbb461c 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -128,7 +128,7 @@ New Featuresnumeric, and conditional evaluators. BooleanOperations have been removed in preference ofBooleanEvaluators. (Dennis Gove)-* SOLR-9903: Stop interrupting the update executor on shutdown, it can cause graceful shutdowns to put replicas into Leader+* SOLR-9903: Stop interrupting the update executor on shutdown, it can cause graceful shutdowns to put replicas into LeaderInitiated Recovery among other undesirable things. (Mark Miller)* SOLR-8396: Add support for PointFields in Solr (Ishan Chattopadhyaya, Tomás Fernández Löbbe)@@ -203,6 +203,8 @@ Bug Fixes* SOLR-10225: Fix HDFS BlockCache evictions metric to not count explicit removaldue to a directory close. (yonik)+* SOLR-10088: Installer script does not put zoo.cfg in SOLR_HOME (janhoy)+Optimizations----------------------@@ -232,9 +234,9 @@ Other Changes* SOLR-10018: Increase the default hl.maxAnalyzedChars to 51200 for the Unified & Postings Highlighter so that allhighlighters now have this same default. (David Smiley)--* SOLR-6246: Added tests to check that the changes in LUCENE-7564 and LUCENE-7670- enable AnalyzingInfixSuggester and BlendedInfixSuggester to play nicely with core reload.++* SOLR-6246: Added tests to check that the changes in LUCENE-7564 and LUCENE-7670+ enable AnalyzingInfixSuggester and BlendedInfixSuggester to play nicely with core reload.SolrSuggester.build() now throws SolrCoreState.CoreIsClosedException when interruptedby a core reload/shutdown. (Steve Rowe)@@ -261,8 +263,8 @@ Other Changes* SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.(Mark Miller)-* SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds.- (Mark Miller)+* SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds.+ (Mark Miller)* SOLR-10020: Cannot reload a core if it fails initialization. (Mike Drob via Erick Erickson)@@ -273,8 +275,8 @@ Other Changes* SOLR-10214: Remove unused HDFS BlockCache metrics and add storeFails, as well as adding totalcounts for lookups, hits, and evictions. (yonik)--* SOLR-10134: EmbeddedSolrServer responds on Schema API requests (Robert Alexandersson via Mikhail Khludnev)++* SOLR-10134: EmbeddedSolrServer responds on Schema API requests (Robert Alexandersson via Mikhail Khludnev)* SOLR-10219: re-enable HDFS tests under JDK9 (hossman, Uwe Schindler)diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.shindex b3318708c6c..f42dd5aab7a 100755--- a/solr/bin/install_solr_service.sh+++ b/solr/bin/install_solr_service.sh@@ -340,7 +340,7 @@ mkdir -p "$SOLR_VAR_DIR/logs"if [ -f "$SOLR_VAR_DIR/data/solr.xml" ]; thenecho -e "\n$SOLR_VAR_DIR/data/solr.xml already exists. Skipping install ...\n"else- cp "$SOLR_INSTALL_DIR/server/solr/solr.xml" "$SOLR_VAR_DIR/data/solr.xml"+ cp "$SOLR_INSTALL_DIR/server/solr/"{solr.xml,zoo.cfg} "$SOLR_VAR_DIR/data/"fiif [ -f "$SOLR_VAR_DIR/log4j.properties" ]; thenecho -e "\n$SOLR_VAR_DIR/log4j.properties already exists. Skipping install ...\n"