On 7/18/2019 9:50 AM, Ashish Athavale wrote:
I am getting below exception while adding data into solr. I am adding data 
concurrently in 20 threads, 100 documents in a batch per thread.
Each documents contains 40 fields and all are indexed.
This issue occurs only when I add in multi threads.

Can you please help out here?

Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at http://10.88.66.154:8983/solr: Invalid version (expected 2, but 
95) or the data in not in 'javabin' format

This particular "Invalid version" error almost always means that Solr returned an error response to the client, and that the body of the response was formatted as plain text or HTML, rather than the binary format that the client expected to see. The client had no idea how to handle it, so it threw the exception.

If the client-side exception does not have "Caused by" data that fully shows the text of the error response, you may need to check the logfile on the Solr server to see what error it was sending to the client. That information may help you or us figure out how to fix it.

Thanks,
Shawn

Reply via email to