Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-31 Thread Shawn Heisey
On 5/31/2016 9:53 AM, Siddhartha Singh Sandhu wrote: > I was speculating whether sharding is done on: 1. index terms with > each shard having the whole document space. 2. document space with > each shard have num(documents/no. of shards) of the documents divided > between them. If the router for

Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-31 Thread Siddhartha Singh Sandhu
Hi, I was speculating whether sharding is done on: 1. index terms with each shard having the whole document space. 2. document space with each shard have num(documents/no. of shards) of the documents divided between them. Regards, Sid. On Tue, May 31, 2016 at 9:27 AM, Siddhartha Singh Sandhu <

Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-28 Thread Siddhartha Singh Sandhu
Still struggling with this. Bump. :) On Thu, May 26, 2016 at 3:53 PM, Siddhartha Singh Sandhu < sandhus...@gmail.com> wrote: > Hi Erick, > > Thank you for the reply. What I meant was suppose I have the config: > > 2 shards each with 1 replica. > > Hence, on both servers I have > 1. shard1_replic

Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-26 Thread Siddhartha Singh Sandhu
Hi Erick, Thank you for the reply. What I meant was suppose I have the config: 2 shards each with 1 replica. Hence, on both servers I have 1. shard1_replica1 2 . shard2_replica1 Suppose I have 50 documents then, shard1_replica1 + shard2_replica1 = 50 ? or shard2_replica1 = 50 && shard1_replic

Re: SolrCloud Shard console shows roughly same number of documents?

2016-05-26 Thread Erick Erickson
Q1: Not quite sure what you mean. Let's say I have 2 shards, 3 replicas each 16 docs on each.I _think_ you're talking about the "core selector", which shows the docs on that particular core, 16 in our case not 48. Q2: Yes, that's how SolrCloud is designed. It has to be for HA/DR. Every replica in

SolrCloud Shard console shows roughly same number of documents?

2016-05-25 Thread Siddhartha Singh Sandhu
Hi, I recently moved to a SolrCloud config. I had a few questions: Q1. Does a shard show cumulative number of documents or documents present in that particular shard on the admin console of respective shard? Q2. If 1's answer is non-cumulative then my shards(on different servers) are indexing al