I have an instance of zookeeper (integrated version of Solr) with 3 collections. Each collection has a different schema.xml file in the conf directory. Zookeeper launches successfully - the goal is to perform distributed searches across different collections. My problem is that when I look at the collection2 and collection3 schema using the administration tool, they both seem to use the collection1 schema. Therefore, I cannot update collections 2 and 3 since they do not have the correct fields.
I tried each of the following launch methods to no avail -
java -Dbootstrap_conf=true -DzkRun -DnumShards=1 -jar start.jar
and
java -DzkRun -DnumShards=1 -jar start.jar
and
java -Dbootstrap_confdir=solr/collection1/conf -Dcollection.configName=collection1 -DzkRun -DnumShards=1 -jar start.jar
If it helps my solr.xml file contain the following snippet -
<cores adminPath="/admin/cores" defaultCoreName="collection1" host="${host:}" hostPort="${jetty.port:8983}" hostContext="${hostContext:solr}" zkClientTimeout="${zkClientTimeout:15000}">
<core name="collection1" instanceDir="collection1" />
<core name="collection2" instanceDir="collection2" />
<core name="collection3" instanceDir="collection3" />