Batching is better, see:
https://lucidworks.com/post/really-batch-updates-solr-2/
> On Oct 20, 2020, at 9:03 AM, vishal patel
> wrote:
>
> I am using solr 6.1.0. We have 2 shards and each has one replica.
>
> I want to insert 100 documents in one collection. I am using below code.
>
> org.ap
I am using solr 6.1.0. We have 2 shards and each has one replica.
I want to insert 100 documents in one collection. I am using below code.
org.apache.solr.client.solrj.impl.CloudSolrClient cloudServer = new
org.apache.solr.client.solrj.impl.CloudSolrClient(zkHost);
cloudServer.setParallelUpdates