special context for master/slave
authorDennis Schafroth <dennis@indexdata.com>
Wed, 30 Jan 2013 15:31:16 +0000 (16:31 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 30 Jan 2013 15:31:16 +0000 (16:31 +0100)
etc/solr-tomcat-context-master.xml [new file with mode: 0644]
etc/solr-tomcat-context-slave.xml [new file with mode: 0644]

diff --git a/etc/solr-tomcat-context-master.xml b/etc/solr-tomcat-context-master.xml
new file mode 100644 (file)
index 0000000..c161dbf
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Context 
+    docBase="/usr/share/masterkey/lui/solr/war/apache-solr-3.6.1.war" 
+    path="/solr"
+>
+  <Environment name="solr/home" type="java.lang.String" value="/usr/share/masterkey/lui/solr/master" override="true"/>
+</Context>
diff --git a/etc/solr-tomcat-context-slave.xml b/etc/solr-tomcat-context-slave.xml
new file mode 100644 (file)
index 0000000..d8c3f7b
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Context 
+    docBase="/usr/share/masterkey/lui/solr/war/apache-solr-3.6.1.war" 
+    path="/solr"
+>
+  <Environment name="solr/home" type="java.lang.String" value="/usr/share/masterkey/lui/solr/slave" override="true"/>
+</Context>