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