You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2022/09/23 04:11:14 UTC

[solr] branch branch_9x updated: SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x.

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 378cfbfa06e SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x.
378cfbfa06e is described below

commit 378cfbfa06eda21759c5dfbd923f27df842a72d4
Author: David Smiley <ds...@salesforce.com>
AuthorDate: Thu Sep 22 08:30:33 2022 -0400

    SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x.
    
    Meaning a user who doesn't want it has to opt-out.  For backwards compatibility.
---
 .../modules/upgrade-notes/pages/major-changes-in-solr-9.adoc       | 7 +++++++
 .../modules/upgrade-notes/pages/solr-upgrade-notes.adoc            | 6 +-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
index d0aeafb9c23..72179875794 100644
--- a/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
+++ b/solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-9.adoc
@@ -68,6 +68,13 @@ Due to changes in Lucene 9, that isn't possible any more.
 === Querying and Indexing
 * Added Lucene91HnswVectorsFormat codec for DenseVectorField. In order to use the new codec, reindex is necessary.
 
+=== SolrJ
+SolrJ is beginning to be split up.
+If you use ZooKeeper coordinates to create a `CloudSolrClient`, you will need to add a dependency on `solrj-zookeeper`.
+If you use SolrJ's Maven POM to depend on SolrJ, then this should happen automatically through transitive resolution.
+Instead of depending on ZooKeeper, consider migrating to use of specifying a list of Solr URLs in the client's builder.
+Not only does this reduce dependencies, but it improves security by being able to limit ZooKeeper access.
+
 == Solr 9.0
 === Querying and Indexing
 * xref:query-guide:dense-vector-search.adoc[Dense Vector "Neural" Search] through `DenseVectorField` fieldType and K-Nearest-Neighbor (KNN) Query Parser.
diff --git a/solr/solr-ref-guide/modules/upgrade-notes/pages/solr-upgrade-notes.adoc b/solr/solr-ref-guide/modules/upgrade-notes/pages/solr-upgrade-notes.adoc
index b370bdf6ba6..a2a24d88daa 100644
--- a/solr/solr-ref-guide/modules/upgrade-notes/pages/solr-upgrade-notes.adoc
+++ b/solr/solr-ref-guide/modules/upgrade-notes/pages/solr-upgrade-notes.adoc
@@ -34,11 +34,7 @@ that may affect your existing implementation.
 
 Detailed steps for upgrading a Solr cluster are in the section xref:deployment-guide:upgrading-a-solr-cluster.adoc[].
 
-== Upgrading to 9.1
-
-SolrJ is beginning to be split up.  If you use ZooKeeper coordinates to create a `CloudSolrClient`, you will need to add a dependency on `solrj-zookeeper`.
-Instead, consider migrating to use of specifying a list of Solr URLs in the client's builder.
-Not only does this reduce dependencies, but it improves security by being able to limit ZooKeeper access.
+// DO NOT ADD MINOR VERSION INFO HERE; see child pages
 
 Zookeeper Credentials support now follows a new paradigm.
 Old classes, such as `VMParamsAllAndReadonlyDigestZkACLProvider` and `VMParamsSingleSetCredentialsDigestZkCredentialsProvider`, are deprecated but still supported until at least `10.0`.