Re: NPE when adding docs in 4.2

2013-03-16 Thread J Mohamed Zahoor
Got it.. Thanks. ./Zahoor On 16-Mar-2013, at 9:13 PM, Yonik Seeley wrote: > On Sat, Mar 16, 2013 at 11:36 AM, J Mohamed Zahoor wrote: >> aahha… i used a replication factor of 0. >> I thought 0 means no replication of original.. >> >> Should that be 1 if i want no replication? > > Think of it

Re: NPE when adding docs in 4.2

2013-03-16 Thread Yonik Seeley
On Sat, Mar 16, 2013 at 11:36 AM, J Mohamed Zahoor wrote: > aahha… i used a replication factor of 0. > I thought 0 means no replication of original.. > > Should that be 1 if i want no replication? Think of it as the number of copies of a book at a library. replicationFactor is the number of copi

Re: NPE when adding docs in 4.2

2013-03-16 Thread J Mohamed Zahoor
aahha… i used a replication factor of 0. I thought 0 means no replication of original.. Should that be 1 if i want no replication? ./zahoor On 16-Mar-2013, at 8:46 PM, Mark Miller wrote: > You mean replication factor of 1 not 0. > > I'm cleaning up the collection api responses for 4.3 so th

Re: NPE when adding docs in 4.2

2013-03-16 Thread Mark Miller
You mean replication factor of 1 not 0. I'm cleaning up the collection api responses for 4.3 so that you would get a clear error for this type of thing (https://issues.apache.org/jira/browse/SOLR-4494). There should be info about it in the overseer log currently. I think I've also already fix

NPE when adding docs in 4.2

2013-03-16 Thread J Mohamed Zahoor
Hi I am using Solr 4.2. I created 2 collections by using "http://localhost:8983/solr/admin/collections?action=CREATE&name=collection1&numShards=1&replicationFactor=0&maxShardsPerNode=1"; "http://localhost:8983/solr/admin/collections?action=CREATE&name=collection2&numShards=1&replicationFactor=0