Hi, Recently I ran into an issue where the logs were showing the following:
org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from server at http://solr-host:8983/solr/loadtest_shard1_replica1: old version and new version are not comparable: class java.lang.Long vs class java.lang.Integer: null at org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:765) ~[load-client.jar] at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1173) ~[load-client.jar] at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:1062) ~[load-client.jar] at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:1004) ~[load-client.jar] at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149) ~[load-client.jar] at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) ~[load-client.jar] at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:123) ~[load-client.jar] at WriteLoadTest$IndexWorker.addDocsToSolr(WriteLoadTest.java:629) [load-client.jar] at WriteLoadTest$IndexWorker.run(WriteLoadTest.java:573) [load-client.jar] Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://solr-host:8983/solr/loadtest_shard1_replica1: old version and new version are not comparable: class java.lang.Long vs class java.lang.Integer: null at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:593) ~[load-client.jar] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:262) ~[load-client.jar] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251) ~[load-client.jar] at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:435) ~[load-client.jar] at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:387) ~[load-client.jar] at org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$0(CloudSolrClient.java:742) ~[load-client.jar] at org.apache.solr.client.solrj.impl.CloudSolrClient$$Lambda$8/745780984.call(Unknown Source) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_51] at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) ~[load-client.jar] at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$7/725894523.run(Unknown Source) ~[?:?] ... 3 more The message above is not clear at all. Which document is it talking about? I have so many documents being ingested and it's hard to figure out the same. It would have been nice if the message included a document ID too. Thanks SG