Skip to content

Apache Lucene open-source search software

SOLR-3599: Add zkClientTimeout to solr.xml so that it's obvious how to change it and so that you can change it with a system property.

Mark Robert Miller05ef395e9678
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 87ac7e25678..f2ae9528846 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -70,6 +70,9 @@ Other Changes
* SOLR-3563: Unloading all cores in a SolrCloud collection will now cause the removal of
that collection's meta data from ZooKeeper. (Mark Miller, Per Steffensen)
+* SOLR-3599: Add zkClientTimeout to solr.xml so that it's obvious how to change it and so
+ that you can change it with a system property. (Mark Miller)
+
================== 4.0.0-ALPHA ==================
More information about this release, including any errata related to the
release notes, upgrade instructions, or other changes may be found online at:
diff --git a/solr/example/solr/solr.xml b/solr/example/solr/solr.xml
index f9c35b4b7ed..fd6dd6711c9 100644
--- a/solr/example/solr/solr.xml
+++ b/solr/example/solr/solr.xml
@@ -42,8 +42,12 @@
<!--
adminPath: RequestHandler path to manage cores.
If 'null' (or absent), cores will not be manageable via request handler
+ defaultCoreName: (optional) core to use when no core name is specified in an access url
+
+ All of the attributes in cores after defaultCoreName only apply when running in SolrCloud mode.
+ You can read more about SolrCloud mode at http://wiki.apache.org/solr/SolrCloud
-->
- <cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:}">
+ <cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:}" zkClientTimeout="${zkClientTimeout:10000}">
<core name="collection1" instanceDir="collection1" />
</cores>
</solr>