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 !!!!!!!


Reply via email to