Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-16 Thread Shalin Shekhar Mangar
Thanks for clearing that. The way it is implemented, shard splitting must create the leaders of sub-shards on the same node as the leader of the parent shard. The location of the other replicas of the sub-shards are chosen at random. Split shard doesn't support a createNodeSet parameter yet but it

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-16 Thread RadhaJayalakshmi
Shalin, It is working for me. As you pointed rightly, i had defined UNIQUE_KEY field in schema, but forgot to mention this field in the decalaration. After i added this, it started working. One another question i have with regard to SPLITSHARD is, we are not able to control, which nodes of tomcat,

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread Shalin Shekhar Mangar
Sorry I misunderstood. That NPE can only happen if the uniqueKey is not defined. The code already checks for a reader.fields() returning null. On Wed, Oct 16, 2013 at 11:22 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Just to be clear, you had a "required" uniqueKey defined in th

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread Shalin Shekhar Mangar
Just to be clear, you had a "required" uniqueKey defined in the schema before you indexed any document, is that correct? It is possible to have a NPE in that line if there is an empty segment or if there are documents but no fields! I'm curious to understand how you ended up with an index like tha

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread RadhaJayalakshmi
Thanks for the response!! Yes i have defined unique key in the schema... Still it is throwing the same error.. Is this SPLITSHARD a new feature that is under development in solr 4.4? Has anyone able to split the shards using SPLITSHARD successfully? -- View this message in context: http://luce

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread Shalin Shekhar Mangar
That is strange. Do you have a uniqueKey defined in the schema? Is it marked as "required"? On Tue, Oct 15, 2013 at 3:06 PM, RadhaJayalakshmi < rlakshminaraya...@inautix.co.in> wrote: > Hi All, > For POC purpose, I just brought up a Tomcat-Solr Cluster, with Zookeeper of > 3 zodes. > In one of m

Re: SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread Yago Riveiro
Which is the size of the index? If the index is too big, the SPLISHARD operation will give you a timeout and don't will finish -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, October 15, 2013 at 10:36 AM, RadhaJayalakshmi wrote: > Hi All, > For POC purp

SPLITSHARD not working in SOLR-4.4.0

2013-10-15 Thread RadhaJayalakshmi
Hi All, For POC purpose, I just brought up a Tomcat-Solr Cluster, with Zookeeper of 3 zodes. In one of my collection, i haave only one shard, with two replicas. I just want to split this shard, so that, it will be splitted by two and each splitted shard will have two replicas(including the master c