Re: Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-26 Thread Joel Bernstein
Yes, this is not ideal. It means that the worker collection needs to have N shards rather than N replicas. Changing this should not be difficult if you'd like to provide a patch. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jan 21, 2021 at 8:00 AM ufuk yılmaz wrote: > Looked at the so

RE: Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-21 Thread ufuk yılmaz
Looked at the source code of the parallel stream and it seems I need equal number of SHARDS and workers count parameter. I thought I needed as many replicas, it was shards. Maybe helps someone. Sent from Mail for Windows 10 From: ufuk yılmaz Sent: 21 January 2021 11:16 To: solr-user@lucene.apac

RE: Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-21 Thread ufuk yılmaz
It only works when I set workers to 1, which defeats the point of parallel. Sent from Mail for Windows 10 From: ufuk yılmaz Sent: 21 January 2021 11:16 To: solr-user@lucene.apache.org Subject: Parallel streaming expression java.lang.IndexOutOfBoundsException Hello all, https://lucene.apache.org