Hi,

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 nodes.

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(QueryResponse.java:126)

        at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)

        at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:942)

        at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:957)

 

 

Please advise.

 

Thanks

Mikhail

Reply via email to