Re: Version Incompatibility(Invalid version (expected 2, but 1) or the data in not in 'javabin' format)

2011-03-17 Thread Isha Garg

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)

2011-03-16 Thread Ahmet Arslan
            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)

2011-03-14 Thread Ahmet Arslan



           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.





Version Incompatibility(Invalid version (expected 2, but 1) or the data in not in 'javabin' format)

2011-03-13 Thread Isha Garg

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