Re: SolrJ and class versions

2011-07-26 Thread Martijn v Groningen
Where you upgrading from Solr 1.4? 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. Martijn On 25 July 2011 12:15,

Re: SolrJ and class versions

2011-07-26 Thread Tarjei Huse
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

Re: SolrJ and class versions

2011-07-26 Thread Martijn v Groningen
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

Re: SolrJ and class versions

2011-07-26 Thread Chris Hostetter
: 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: :

Re: SolrJ and class versions

2011-07-26 Thread Michael Sokolov
It's not clear to me (from the wiki, or the jira issue) whether the compatibility break goes both ways - maybe I should just try and see, but just to get this out there on the list: is the 3.X javabin client able to talk to 1.4 servers? If so, then there is a nicely decoupled upgrade path:

Re: SolrJ and class versions

2011-07-26 Thread Shawn Heisey
On 7/26/2011 6:26 PM, Michael Sokolov wrote: It's not clear to me (from the wiki, or the jira issue) whether the compatibility break goes both ways - maybe I should just try and see, but just to get this out there on the list: is the 3.X javabin client able to talk to 1.4 servers? If so, then

SolrJ and class versions

2011-07-25 Thread Tarjei Huse
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