Thanks for the information. I was trying with 2 shards and 4 shards but all on the same machine, and they have the same performance (no improvement in performance) as the one with 1 shard. My machine has a 32GB RAM.
Probably I should try one of the shard in different machine and see how it goes? Regards, Edwin On 17 September 2015 at 15:37, Toke Eskildsen <t...@statsbiblioteket.dk> wrote: > On Thu, 2015-09-17 at 12:04 +0530, Shalin Shekhar Mangar wrote: > > Yes, of course, the only reason to have more shards is so that they > > can reside on different machines (or use different disks, assuming you > > have enough CPU/memory etc) so that you can scale your indexing > > throughput. > > For indexing, true. Due to Solr's 1-request-1-thread nature, sharding on > the same hardware can be used to lower latency for CPU-heavy searches. > > We are running 25 shards/machine, where the machines has 16HT CPU-cores. > Granted we also do it due to the pesky 2 billion limit, but the result > is that the CPU-cores are nicely utilized with our low queries/second > usage pattern. > > - Toke Eskildsen, State and University Library, Denmark > > >