Solrj - Exception in thread main java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Sajith Vimukthi
Hi all, I used the sample code given below and tried to run with all the relevant jars. I receive the exception written below. package test.general; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.SolrServerException; import

Solrj - Exception in thread main java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Sajith Vimukthi
Hi all, I used the sample code given below and tried to run with all the relevant jars. I receive the exception written below. package test.general; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.SolrServerException; import

Re: Solrj - Exception in thread main java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of the server are you using? SolrJ documenttaion says that the binary format works only with Solr1.3 On Thu, Dec 18, 2008 at 2:49 PM, Sajith Vimukthi saji...@zone24x7.com wrote: Hi all, I used the sample code given below and tried to run with all the relevant jars. I receive