lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Ibraheem <>
Subject Is CloudSolrClient thread-safe?
Date Tue, 28 Mar 2017 14:13:30 GMT

I have a project with solr and spring. I am have only one instance of CloudSolrClient at the
context (singleton).

This is because I believe that it should be only one instance to load balance between the

I have big issue which doesn't occur all the times, it is intermittent:


java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.solr.common.SolrDocumentList

        at org.apache.solr.client.solrj.response.QueryResponse.setResponse(

        at org.apache.solr.client.solrj.SolrRequest.process(

        at org.apache.solr.client.solrj.SolrClient.query(

        at org.apache.solr.client.solrj.SolrClient.query(



Please advise.




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message