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-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:

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
/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 shalinman...@gmail.com To: solr-user@lucene.apache.org Date: 16.10.2013 07:37 Subject:Re: Regarding Solr

Re: Regarding Solr Cloud issue...

2013-10-16 Thread 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 solr-4.4 instances. I copied example directory into example1, example2, example3 and example4 cd example; java

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
API, right? Primoz From: Shalin Shekhar Mangar shalinman...@gmail.com 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

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Shalin Shekhar Mangar
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 shalinman...@gmail.com To: solr-user@lucene.apache.org Date: 16.10.2013 09:06 Subject:Re: Regarding Solr Cloud issue

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
Shekhar Mangar shalinman...@gmail.com 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 solr-4.4 instances. I copied example directory into example1, example2

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
: Regarding Solr Cloud issue... If the initial collection was created with a numShards parameter (and hence compositeId router then there was no way to create a new logical shard. You can add replicas with the core admin API but only to shards that already exist. A new logical shard can only

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
: Shalin Shekhar Mangar shalinman...@gmail.com To: solr-user@lucene.apache.org Date: 16.10.2013 10:45 Subject:Re: Regarding Solr Cloud issue... If the initial collection was created with a numShards parameter (and hence compositeId router then there was no way to create a new

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
Subject:Re: Regarding Solr Cloud issue... If the initial collection was created with a numShards parameter (and hence compositeId router then there was no way to create a new logical shard. You can add replicas with the core admin API but only to shards that already exist. A new logical

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 SolrCloud domain. If

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, primoz.sk...@policija.si wrote: Also, another issue that needs to be raised is the creation of cores from the

Re: Regarding Solr Cloud issue...

2013-10-16 Thread primoz . skale
the updated WAR file to servlet container. Primoz From: Chris christu...@gmail.com To: solr-user solr-user@lucene.apache.org 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

Re: Regarding Solr Cloud issue...

2013-10-16 Thread Chris
@lucene.apache.org 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, 2013 at 4:58 PM, primoz.sk

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 index

Regarding Solr Cloud issue...

2013-10-15 Thread Chris
Hi, I am using solr 4.4 as cloud. while creating shards i see that the last shard has range of null. i am not sure if this is a bug. I am stuck with having null value for the range in clusterstate.json (attached below) shard5:{ range:null, state:active, replicas:{core_node1:{ state:active,

Regarding Solr Cloud issue...

2013-10-15 Thread Chris
Hi, I am using solr 4.4 as cloud. while creating shards i see that the last shard has range of null. i am not sure if this is a bug. I am stuck with having null value for the range in clusterstate.json (attached below) shard5:{ range:null, state:active, replicas:{core_node1:{ state:active,

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 christu...@gmail.com wrote: Hi, I am using solr 4.4 as cloud. while creating shards i see that

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 -

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;