On 3/27/2015 2:29 AM, Karl Wright wrote: > Now that Solr 5.0.0 has been released, the ManifoldCF project needs to > figure out the appropriate time to upgrade to a newer SolrJ. Can anyone > point me at the backwards-compatibility policy for SolrJ 5.0.0? Will it > work properly with Solr 4.x?
We do strive for compatibility, but sometimes there is breakage, in order to achieve progress. If you are NOT running SolrCloud, compatibility between wildly different versions of Solr and SolrJ should be excellent. For my non-cloud install, I am using SolrJ 5.0.0 with Solr 4.7.2 and 4.9.1 with no problems. If you try to mix a 3.x version with a 4.x or 5.x version, or a 1.x version with anything later, changes in the typical client coding methods will probably be required, but it is extremely likely that it will be possible to make it work. SolrCloud is where the difficulty comes in. SolrCloud is evolving at an extremely rapid pace, and the coupling between SolrJ and the SolrCloud API (zookeeper in particular) is *extremely* tight. For the most part, if you are running a newer CloudSolrClient version than the server, things should work ... but for best results, I would not allow the version spread to get very wide, preferably not more than one minor release, maybe two. That means that SolrJ 5.0.0 will probably work well with SolrCloud 4.10.x, and maybe 4.9.x, but I would not be surprised to find incompatibilities even in a small version spread. You may find that a wide version spread works perfectly ... I have not tried it. Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
