You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Isha Garg <is...@orkash.com> on 2011/03/14 05:55:59 UTC
Version Incompatibility(Invalid version (expected 2, but 1) or the
data in not in 'javabin' format)
Hi All,
I am using Solr 4.0 api to search from index (made using
solr1.4 version). I am getting error Invalid version (expected 2, but 1)
or the data in not in 'javabin' format. Can anyone help me to fix problem.
Thanks!
Isha
Re: Version Incompatibility(Invalid version (expected 2, but 1) or
the data in not in 'javabin' format)
Posted by Isha Garg <is...@orkash.com>.
On Thursday 17 March 2011 03:18 AM, Ahmet Arslan wrote:
>>> I am using Solr 4.0 api
>>> to search from index (made using solr1.4 version). I
>>>
>> am
>>
>>> getting error Invalid version (expected 2, but 1) or
>>>
>> the
>>
>>> data in not in 'javabin' format. Can anyone help me to
>>>
>> fix
>>
>>> problem.
>>>
>> You need to use solrj version 1.4 which is compatible to
>> your index format/version.
>>
>>
> Actually there exists another solution. Using XMLResponseParser instead of BinaryResponseParser which is the default.
>
> new CommonsHttpSolrServer(new URL("http://solr1.4.0Instance:8080/solr"), null, new XMLResponseParser(), false);
>
>
> Hi,
>
Thanks !!!!!!!
Re: Version Incompatibility(Invalid version (expected 2, but 1) or the data in not in 'javabin' format)
Posted by Ahmet Arslan <io...@yahoo.com>.
> > I am using Solr 4.0 api
> > to search from index (made using solr1.4 version). I
> am
> > getting error Invalid version (expected 2, but 1) or
> the
> > data in not in 'javabin' format. Can anyone help me to
> fix
> > problem.
>
> You need to use solrj version 1.4 which is compatible to
> your index format/version.
>
Actually there exists another solution. Using XMLResponseParser instead of BinaryResponseParser which is the default.
new CommonsHttpSolrServer(new URL("http://solr1.4.0Instance:8080/solr"), null, new XMLResponseParser(), false);
Re: Version Incompatibility(Invalid version (expected 2, but 1) or the data in not in 'javabin' format)
Posted by Ahmet Arslan <io...@yahoo.com>.
> I am using Solr 4.0 api
> to search from index (made using solr1.4 version). I am
> getting error Invalid version (expected 2, but 1) or the
> data in not in 'javabin' format. Can anyone help me to fix
> problem.
You need to use solrj version 1.4 which is compatible to your index format/version.