I agree! It should be noted in the documentation. I just wanted to say that SolrJ doen't depend on Java serialization, but uses its own serialization: http://lucene.apache.org/solr/api/solrj/org/apache/solr/common/util/JavaBinCodec.html
Martijn On 26 July 2011 15:31, Tarjei Huse <tar...@scanmine.com> wrote: > On 07/26/2011 09:26 AM, Martijn v Groningen wrote: > > Where you upgrading from Solr 1.4? > Yep. > > SolrJ uses by default for querying the javabin format (wt parameter). > > The javabin format is not compatible between 1.4 and 3.1 and above. > > So If your clients where running with SolrJ 1.4 versions I would expect > > errors to occur. > I understood the error when I saw it, but I think the version dependency > should be noted in the SolrJ manual. > Regards, > T > > Martijn > > > > On 25 July 2011 12:15, Tarjei Huse <tar...@scanmine.com> wrote: > > > >> Hi, I recently went through a little hell when I upgraded my Solr > >> servers to 3.2.0. What I didn't anticipate was that my Java SolrJ > >> clients depend on the server version. > >> > >> I would like to add a note about this in the SolrJ docs: > >> http://wiki.apache.org/solr/Solrj#Streaming_documents_for_an_update > >> > >> Any comments with regard to this? > >> > >> Are all SolrJ methods dependent on Java Serialization and thus class > >> versions? > >> > >> -- > >> Regards / Med vennlig hilsen > >> Tarjei Huse > >> Mobil: 920 63 413 > >> > >> > > > > > -- > Regards / Med vennlig hilsen > Tarjei Huse > Mobil: 920 63 413 > > -- Met vriendelijke groet, Martijn van Groningen