You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by "Gohlke, Alexander" <al...@gbtec.com> on 2022/05/31 09:37:51 UTC

SolrJ compatibility

Hello,

I am looking for information which version of the SolrJ client is compatible with the Solr server. So far I only found some information in the cwiki where it says: "SolrJ generally maintains backwards compatibility, so you can use a newer SolrJ with an older Solr, or an older SolrJ with a newer Solr". However, this wiki is a bit older and I can't evaluate if this is also true for Solr 8.11.x and 9.0.0. 
https://cwiki.apache.org/confluence/display/solr/Solrj

Background is the following. I have a legacy application using SolrJ 4.10.4 with Solr server 7.7.3. So far this works without any problems. Now the Solr server needs to be updated to 8.11.1 or 9. Unfortunately updating the SolrJ version is not possible due to the dependency situation.

Is SolrJ client in version 4.10.4 is compatible with a Solr server 8.11.1 or 9.0.0 ? Any information would be very appreciated.

Best regards to all
Alex


Re: SolrJ compatibility

Posted by Shawn Heisey <ap...@elyograg.org>.
On 5/31/22 03:37, Gohlke, Alexander wrote:
> Is SolrJ client in version 4.10.4 is compatible with a Solr server 8.11.1 or 9.0.0 ? Any information would be very appreciated.

If you're not running in SolrCloud mode, that will probably work. When 
running SolrCloud, the client is MUCH more integrated into how Solr 
itself works, and you're less likely to be able to use a wildly 
different SolrJ version.

Thanks,
Shawn


Re: SolrJ compatibility

Posted by Jan Høydahl <ja...@cominvent.com>.
For those using SolrCloud, you can read this in the upgrade notes: https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html <https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html> 

"If using CloudSolrClient to connect to your SolrCloud cluster, SolrJ must be upgraded in all your client applications to version 8.10 or higher (8.x), before upgrading your SolrCloud cluster to version 9.0. Otherwise, SolrJ will not be able to connect to the cluster once it has upgraded to Solr 9."

Jan

> 31. mai 2022 kl. 11:37 skrev Gohlke, Alexander <al...@gbtec.com>:
> 
> Hello,
> 
> I am looking for information which version of the SolrJ client is compatible with the Solr server. So far I only found some information in the cwiki where it says: "SolrJ generally maintains backwards compatibility, so you can use a newer SolrJ with an older Solr, or an older SolrJ with a newer Solr". However, this wiki is a bit older and I can't evaluate if this is also true for Solr 8.11.x and 9.0.0. 
> https://cwiki.apache.org/confluence/display/solr/Solrj
> 
> Background is the following. I have a legacy application using SolrJ 4.10.4 with Solr server 7.7.3. So far this works without any problems. Now the Solr server needs to be updated to 8.11.1 or 9. Unfortunately updating the SolrJ version is not possible due to the dependency situation.
> 
> Is SolrJ client in version 4.10.4 is compatible with a Solr server 8.11.1 or 9.0.0 ? Any information would be very appreciated.
> 
> Best regards to all
> Alex
> 


Re: SolrJ compatibility

Posted by Walter Underwood <wu...@wunderwood.org>.
We had one 4.x cluster that was difficult to migrate, so until recently we were using SolrJ 4.x with our new Solr 8.7 clusters and with a Solr  4.10.4 cluster.

We were not doing anything fancy like faceting.

wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On May 31, 2022, at 2:37 AM, Gohlke, Alexander <al...@gbtec.com> wrote:
> 
> Hello,
> 
> I am looking for information which version of the SolrJ client is compatible with the Solr server. So far I only found some information in the cwiki where it says: "SolrJ generally maintains backwards compatibility, so you can use a newer SolrJ with an older Solr, or an older SolrJ with a newer Solr". However, this wiki is a bit older and I can't evaluate if this is also true for Solr 8.11.x and 9.0.0. 
> https://cwiki.apache.org/confluence/display/solr/Solrj
> 
> Background is the following. I have a legacy application using SolrJ 4.10.4 with Solr server 7.7.3. So far this works without any problems. Now the Solr server needs to be updated to 8.11.1 or 9. Unfortunately updating the SolrJ version is not possible due to the dependency situation.
> 
> Is SolrJ client in version 4.10.4 is compatible with a Solr server 8.11.1 or 9.0.0 ? Any information would be very appreciated.
> 
> Best regards to all
> Alex
>