Re: Solrj : ConcurrentUpdateSolrClient based on QueueSize and Time

2018-02-23 Thread Santosh Narayan
it. > > Anyway, Shawn's explanation above is correct. The queueSize parameter > doesn't control batching, as he clarified. Sorry for the trouble. > > Best, > > Jason > > On Wed, Feb 21, 2018 at 8:50 PM, Santosh Narayan > wrote: > > Thanks for the ex

Re: Solrj : ConcurrentUpdateSolrClient based on QueueSize and Time

2018-02-21 Thread Santosh Narayan
(int queueSize) { if (queueSize <= 0) { throw new IllegalArgumentException("queueSize must be a positive integer."); } this.queueSize = queueSize; return this; } On Thu, Feb 22, 2018 at 9:41 AM, Shawn Heisey wrote: > On 2/21/2018 7:41 AM,

Re: Solrj : ConcurrentUpdateSolrClient based on QueueSize and Time

2018-02-21 Thread Santosh Narayan
send all the cached documents together in one HTTP request. Is this not the case? On Wed, Feb 21, 2018 at 7:26 PM, Shawn Heisey wrote: > On 2/21/2018 1:21 AM, Santosh Narayan wrote: > >> I'm using ConcurrentUpdateSolrClient to push data into Solr. Currently, >> I'm &

Solrj : ConcurrentUpdateSolrClient based on QueueSize and Time

2018-02-21 Thread Santosh Narayan
Hi all, I'm using ConcurrentUpdateSolrClient to push data into Solr. Currently, I'm initializing it as follows: ConcurrentUpdateSolrClientclient = new ConcurrentUpdateSolrClient.Builder(serverUrl).withThreadCount(100).withQueueSize(50).build(); This works fine when there are 50 requests coming in