Re: Same schema.xml is loaded for different cores in SolrCloud

2015-03-31 Thread Zheng Lin Edwin Yeo
Yes, I've delete my previous collections, and retried these using zkcli and creating my collections using the collections API thereafter. It's working now. Thanks Erick. Regards, Edwin On 31 March 2015 at 13:55, Erick Erickson wrote: > By now, I wouldn't particularly trust my setup. I'd blow

Re: Same schema.xml is loaded for different cores in SolrCloud

2015-03-30 Thread Erick Erickson
By now, I wouldn't particularly trust my setup. I'd blow it away and start over. bootstrapping is _only_ required to get the configs up to Zookeeper the first time. In fact I suggest you don't use it at all. Just start SolrCloud, and use zkcli to push the configs up. Thereafter, create your collec

Re: Same schema.xml is loaded for different cores in SolrCloud

2015-03-30 Thread Zheng Lin Edwin Yeo
Hi Erick, I've started shard2 with the following command instead, but it's still the same problem. java -DzkHost=localhost:9983 -Djetty.port=8984 -jar start.jar But you mean for shard1 we do not have to include " -Dbootstrap_confdir=./solr/logmill/conf" for subsequent startup? Regards, Edwin O

Re: Same schema.xml is loaded for different cores in SolrCloud

2015-03-30 Thread Erick Erickson
OK, this is a bit confused: 1> You're starting two embedded Zookeepers but they don't know about each other. So looking for the configsets is a bit confused. 2> There's no need to do the bootstrap thing after the first time. The _very_ first time you do this it pushes the configs up to Zookeeper,

Re: Same schema.xml is loaded for different cores in SolrCloud

2015-03-30 Thread Zheng Lin Edwin Yeo
I've roughly know what is the problem from here. http://stackoverflow.com/questions/23338324/zookeeper-multiple-collection-different-schema However, I couldn't find the zoo_data directory in all of my solr folder. What could be the problem or where is the directory supposed to be located? Regards

Same schema.xml is loaded for different cores in SolrCloud

2015-03-29 Thread Zheng Lin Edwin Yeo
Hi everyone, I've created a SolrCloud with multiple core, and I have different schema.xml for each of the core. However, when I start Solr, there's only one version of the schema.xml that is loaded onto Solr. Regardless of which core I go to, the schema.xml that is shown is the first one which I h