Re: CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Shawn Heisey
On 6/19/2019 7:44 AM, Shawn Heisey wrote: The version of SolrJ that's included in Spring Boot 1.5.8 is 5.5.4 ... CloudSolrClient does not do well when the client version is significantly different than the server version.  Pairing a 5.5.4 client with a 4.10.3 server could be problematic.

Re: CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Shawn Heisey
On 6/19/2019 7:32 AM, Rushikesh Garadade wrote: I am using CloudSolrClient with Spring boot Solr 1.5.18.RELEASE and Solr Version is Solr 4.10.3. When using Spring's packaging of SolrJ, you need to talk to Spring about most problems you're having. They do more than simply include SolrJ and

CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Rushikesh Garadade
Hello All, I am using CloudSolrClient with Spring boot Solr 1.5.18.RELEASE and Solr Version is Solr 4.10.3. new CloudSolrClient.Builder().withZkHost(zkHosts).withZkChroot(solrProperties.getSolrZookeeperLocation()).build(); When I use Solr which comes wth CDH 5.16.1 default when I save a