Hello Team,

I would like to get clarified where to place schema.xml on SolrCloud set-up.

My Solr cloud set-up , 3 nodes, 3 shards and 3 replications, 3 ZooKeeper

What I have done is,
1. Taken a solr.war from solr default download (
solr-4.10.2/example/webapps/solr.war  -  4.10.2) and placed
 <tomcat-home>/webapps/ folder.

2. Taken Solr home from solr default download ( solr-4.10.2/example/solr/)
and placed on solr.home
(Copied Collection folder as well along with solr.xml)

3. Started 3 solr nodes and zookeepr instances ( after correct
configuration)

4. Register solr configurations of ZooKeeper using,
zkcli.sh -zkhost zoo1.internal:2183,zoo2.internal:2183,zoo3.internal:2183
-cmd upconfig -confdir <solr-home>/collection1/conf -confname default

5. Create 3 Shard's and 3 Replicas :
http://solr1.internal:7003/solr/admin/collections?action=CREATE&name=c-ins&replicationFactor=3&numShards=3&collection.configName=default&maxShardsPerNode=3&wt=json&indent=2


   After that I can see following folder structure  in Solr node1's
<solr-home> directory ( Can see similar structure on my other 2 solr nodes)
-rw-r--r-- solr.xml drwxrwxr-x c-ins_shard1_replica1 drwxrwxr-x
c-ins_shard2_replica1 drwxrwxr-x c-ins_shard3_replica1 drwxr-xr-x
collection1


I've done some xml docuemnt indexing and it's working fine, Zoo-keepers are
also working fine, My Questions are,

1. Like to know what I have done is correct ?
2. Where to place the schema.xml's and other configurations. Because for
the moment it's are under collection1/conf folder and collection1 is not an
active collection for me. ( i'm using only c-ins core)


Appreciate your time on this.

Thanks - Elike

Reply via email to