On Thu, 2015-09-17 at 16:58 +0800, Zheng Lin Edwin Yeo wrote: > 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.
As you are testing indexing speed, Shalin's post is spot-on: Sharding on the same machine won't help you. I just added my comment on search to help build a complete picture. A simple metric is to look at CPU usage on the machine: If it is near 100% when you index, you will need extra hardware to get more speed. If it is substantially less than 100%, then feed Solr from more than one thread at a time. - Toke Eskildsen, State and University Library, Denmark