lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Exception while adding data in multiple threads
Date Thu, 18 Jul 2019 16:41:37 GMT
I doubt multiple threads are the issue here. This looks  a lot more like you’re using SolrJ
jars on the client that do not match the version running on Solr.


> On Jul 18, 2019, at 10:50 AM, Ashish Athavale <>
> Hi,
> 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 Invalid version (expected 2, but 95) or the
data in not in 'javabin' format
>                at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(
>                at org.apache.solr.client.solrj.impl.HttpSolrClient.request(
>                at org.apache.solr.client.solrj.impl.HttpSolrClient.request(
>                at org.apache.solr.client.solrj.SolrRequest.process(
>                at org.apache.solr.client.solrj.SolrClient.add(
>                at$saveBeans$3(
>                at$$Lambda$649/753427667.doInSolr(Unknown
>                at
> Regards
> Ashish Athavale | Architect
><>| Cell: +91-9881137580|
Tel: +91-02067034708
> Persistent Systems Ltd. |<>
> ==========
> This e-mail may contain privileged and confidential information which is the property
of Persistent Systems Ltd. It is intended only for the use of the individual or entity to
which it is addressed. If you are not the intended recipient, you are not authorized to read,
retain, copy, print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message. Persistent Systems
Ltd. does not accept any liability for virus infected mails.

View raw message