Re: Solr 4.4 Default shard
this was only with solr 4.4.I didnt face the issue in any other versions. On Thu, Aug 8, 2013 at 4:23 PM, Prasi S wrote: > Initially i created a single collection, > > ->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd > upconfig -zkhost localhost:2181 -confdir solr-conf -confname *myconf1* > > -->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd > linkconfig -zkhost 127.0.0.1:2181 -collection *firstcollection *-confname > *myconf1 *-solrhome example/solr > > When i create a single collection there was no problem. The default > "collection1" and the new "firstcollection were both present. > > But when i created a second collection using the same upconfig parameter, > > - >java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd > upconfig -zkhost localhost:2181 -confdir solr-conf -confname *myconf2* > > -->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd > linkconfig -zkhost 127.0.0.1:2181 -collection *secondcollection * > -confname *myconf2 *-solrhome example/solr > > tomcat threw exception as , "could not find Configname for collection1 : > found[ myconf1, myconf2]. > > Any idea? > > > > > > On Thu, Aug 8, 2013 at 3:04 PM, Prasi S wrote: > >> I have setup solr 4.4 with cloud and have created two cores >> mycore_shard1, mycore_shard2. I have few questions here, >> >> >> 1. Once the setup is ready, i could see a default collection "collection" >> with :shard1 in the admin -> cloud page. How to remove it. I have deleted >> the core.properties file in the /solr/collection/core.propeties file. But >> still it shoots up. Where is it stored. >> >> 2. Where do I find the shard configurationf for mycore_shard1 , >> mycore_shard2 ? >> >> >> Thanks in advance. >> > >
Re: Solr 4.4 Default shard
Initially i created a single collection, ->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost localhost:2181 -confdir solr-conf -confname *myconf1* -->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd linkconfig -zkhost 127.0.0.1:2181 -collection *firstcollection *-confname *myconf1 *-solrhome example/solr When i create a single collection there was no problem. The default "collection1" and the new "firstcollection were both present. But when i created a second collection using the same upconfig parameter, - >java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost localhost:2181 -confdir solr-conf -confname *myconf2* -->java -classpath .;zoo-lib/* org.apache.solr.cloud.ZkCLI -cmd linkconfig -zkhost 127.0.0.1:2181 -collection *secondcollection *-confname * myconf2 *-solrhome example/solr tomcat threw exception as , "could not find Configname for collection1 : found[ myconf1, myconf2]. Any idea? On Thu, Aug 8, 2013 at 3:04 PM, Prasi S wrote: > I have setup solr 4.4 with cloud and have created two cores mycore_shard1, > mycore_shard2. I have few questions here, > > > 1. Once the setup is ready, i could see a default collection "collection" > with :shard1 in the admin -> cloud page. How to remove it. I have deleted > the core.properties file in the /solr/collection/core.propeties file. But > still it shoots up. Where is it stored. > > 2. Where do I find the shard configurationf for mycore_shard1 , > mycore_shard2 ? > > > Thanks in advance. >
Re: Solr 4.4 Default shard
Hi Prasi, I'd highly recommend you to go through the SolrCloud wiki here: http://wiki.apache.org/solr/SolrCloud . When it comes to SolrCloud, you need to read about collections before you go any further. I don't know anything about your use case so I'm guessing you just probably are trying to create a collection with 2 shards (numShards=2). Look at the collections API and how to create/delete collections. On Thu, Aug 8, 2013 at 3:04 PM, Prasi S wrote: > I have setup solr 4.4 with cloud and have created two cores mycore_shard1, > mycore_shard2. I have few questions here, > > > 1. Once the setup is ready, i could see a default collection "collection" > with :shard1 in the admin -> cloud page. How to remove it. I have deleted > the core.properties file in the /solr/collection/core.propeties file. But > still it shoots up. Where is it stored. > > 2. Where do I find the shard configurationf for mycore_shard1 , > mycore_shard2 ? > > > Thanks in advance. > -- Anshum Gupta http://www.anshumgupta.net
Solr 4.4 Default shard
I have setup solr 4.4 with cloud and have created two cores mycore_shard1, mycore_shard2. I have few questions here, 1. Once the setup is ready, i could see a default collection "collection" with :shard1 in the admin -> cloud page. How to remove it. I have deleted the core.properties file in the /solr/collection/core.propeties file. But still it shoots up. Where is it stored. 2. Where do I find the shard configurationf for mycore_shard1 , mycore_shard2 ? Thanks in advance.