Re: Regarding Solr Cloud issue...

2013-10-17 Thread Chris
I am also trying with something like - java -Durl=http://domainname.com:1981/solr/web/update-Dtype=application/json -jar /solr4RA/example1/exampledocs/post.jar /root/Desktop/web/*.json but it is giving error - 19:06:22 ERROR SolrCore org.apache.solr.common.SolrException: Unknown command: subDoma

Re: Regarding Solr Cloud issue...

2013-10-17 Thread Chris
Wow thanks for all that, i just upgraded, linked my plugins & it seems fine so far, but i have run into another issue while adding a document to the solr cloud it says - org.apache.solr.common.SolrException: Unknown document router '{name=compositeId}' in the clusterstate.json i can see -

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Shawn Heisey
On 10/16/2013 4:51 AM, Chris wrote: > Also, is there any easy way upgrading to 4.5 without having to change most > of my plugins & configuration files? Upgrading is something that should be done carefully. If you can, it's always recommended that you try it out on dev hardware with your real inde

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
r-user > Date: 16.10.2013 14:30 > Subject:Re: Regarding Solr Cloud issue... > > > > oh great. Thanks Primoz. > > is there any simple way to do the upgrade to 4.5 without having to change > my configurations? update a few jar files etc? > > > On Wed, Oct 16

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
eploy the updated WAR file to servlet container. Primoz From: Chris To: solr-user Date: 16.10.2013 14:30 Subject: Re: Regarding Solr Cloud issue... oh great. Thanks Primoz. is there any simple way to do the upgrade to 4.5 without having to change my configurations? update

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
oh great. Thanks Primoz. is there any simple way to do the upgrade to 4.5 without having to change my configurations? update a few jar files etc? On Wed, Oct 16, 2013 at 4:58 PM, wrote: > >>> Also, another issue that needs to be raised is the creation of cores > from > >>> the "core admin" sec

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
>>> Also, another issue that needs to be raised is the creation of cores from >>> the "core admin" section of the gui, doesnt really work well, it creates >>> files but then they do not work (again i am using 4.4) >From my experience "core admin" section of the GUI does not work well in SolrClo

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
"state":"active", >> "core":"Reference_shard4_replica1", >> "node_name":"64.251.14.47:1982_solr", >> "base_url":"http://64.251.14.47:1982/solr";, >> "l

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
"node_name":"64.251.14.47:1983_solr", > "base_url":"http://64.251.14.47:1983/solr";, > "leader":"true"}}}, > "shard2":{ > "range":null, > "state":"acti

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
51.14.47:1981_solr", "base_url":"http://64.251.14.47:1981/solr";, "leader":"true", "router":"compositeId"}, "web":{ "shards":{ "shard1":{ "rang

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
Yap, you are right - I only created extra replicas with cores API. For a new shard I had to use "split shard" command. My apologies. Primož From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org Date: 16.10.2013 10:45 Subject: Re: Regarding Solr Cloud issue...

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Shalin Shekhar Mangar
nds. Those usually produced null ranges. > > In 4.5.0 this is fixed with newly added commands "createshard" etc. to the > collections API, right? > > Primoz > > > > From: Shalin Shekhar Mangar > To: solr-user@lucene.apache.org > Date: 16.10.2013 09:

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
ollections API, right? Primoz From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org Date: 16.10.2013 09:06 Subject: Re: Regarding Solr Cloud issue... Chris, can you post your complete clusterstate.json? Do all shards have a null range? Also, did you issue any core ad

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Shalin Shekhar Mangar
eyond me :) > > Primoz > > > > From: Shalin Shekhar Mangar > To: solr-user@lucene.apache.org > Date: 16.10.2013 07:37 > Subject:Re: Regarding Solr Cloud issue... > > > > I'm sorry I am not able to reproduce this issue. > > I started 5 sol

Re: Regarding Solr Cloud issue...

2013-10-15 Thread primoz . skale
e.json from ZK ("get /clusterstate.json"), fix ranges to appropriate values and upload the file back to ZK with zkCli. But why those null ranges happen at all is beyond me :) Primoz From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org Date: 16.10.2013 07:37 Subject:

Re: Regarding Solr Cloud issue...

2013-10-15 Thread Shalin Shekhar Mangar
I'm sorry I am not able to reproduce this issue. I started 5 solr-4.4 instances. I copied example directory into example1, example2, example3 and example4 cd example; java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -DzkRun -DnumShards=1 -jar start.jar cd example1; j

Re: Regarding Solr Cloud issue...

2013-10-15 Thread Chris
Hi Shalin,. Thank you for your quick reply. I appreciate all the help. I started the solr cloud servers first...with 5 nodes. then i issued a command like below to create the shards - http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=5&replicationFactor=1

Re: Regarding Solr Cloud issue...

2013-10-15 Thread Shalin Shekhar Mangar
How did you create these shards? Can you tell us how to reproduce the issue? Any shard in a collection with compositeId router should never have null ranges. On Tue, Oct 15, 2013 at 7:07 PM, Chris wrote: > Hi, > > I am using solr 4.4 as cloud. while creating shards i see that the last > shard