You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/27 17:57:58 UTC
[Solr Wiki] Update of "javabin" by RobertMuir
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "javabin" page has been changed by RobertMuir.
The comment on this change is: add notes about javabin format change.
http://wiki.apache.org/solr/javabin?action=diff&rev1=6&rev2=7
--------------------------------------------------
== How do I write any custom types ? ==
Any custom Object has to be first converted to one of the supported types then marshal it.
+ == Versions ==
+ As of Solr 3.1, the JavaBin format has changed to version 2.
+ Version 2 serializes strings differently: instead of writing the number of UTF-16 characters
+ followed by the bytes in Modified UTF-8 it writes the number of UTF-8 bytes followed by
+ the bytes in UTF-8.
+
+ When upgrading from Solr 1.4, if you are using the JavaBin format, you will need to ensure that
+ you also upgrade your SolrJ client.
+
+ See the [[http://issues.apache.org/jira/browse/SOLR-2034|SOLR-2034]] jira issue for more information.
----
CategoryQueryResponseWriter