Re: Possible bug in Solrj-6.6.0

2017-06-16 Thread Joel Bernstein
Yes that is correct. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun 16, 2017 at 9:55 AM, Aman Deep Singh wrote: > Thanks Joel, > It is working now > One quick question,as you say that we can use solr client cache multiple > time so can I create a single instance of solr client cache a

Re: Possible bug in Solrj-6.6.0

2017-06-16 Thread Aman Deep Singh
Thanks Joel, It is working now One quick question,as you say that we can use solr client cache multiple time so can I create a single instance of solr client cache and use it again and again ,since we are using one single bean for client object. On 16-Jun-2017 6:28 PM, "Joel Bernstein" wrote: T

Re: Possible bug in Solrj-6.6.0

2017-06-16 Thread Joel Bernstein
The issue is that in 6.6 CloudSolrStream is expecting a StreamContext to be set. So you'll need to update your code to do this. This was part of changes made to make streaming work in non-SolrCloud environments. You also need to create a SolrClientCache which caches the SolrClients. Example: Sol

Possible bug in Solrj-6.6.0

2017-06-15 Thread Aman Deep Singh
Hi, I think their is a possible bug in Solrj version 6.6.0 ,as streaming is not working as i have a piece of code public Set getAllIds(String requestId, String field) { LOG.info("Now Trying to fetch all the ids from SOLR for request Id {}", requestId); Map props = new HashMap(); props.