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

jdyer 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 aeeba8f8226 SOLR-17771: Deprecate CloudSolrClient.Builder in favor of 
CloudHttp2SolrClient.Builder
aeeba8f8226 is described below

commit aeeba8f82264026423fd7b9e93d5c9ef63570bc8
Author: jdyer1 <[email protected]>
AuthorDate: Fri Oct 17 10:54:20 2025 -0500

    SOLR-17771: Deprecate CloudSolrClient.Builder in favor of 
CloudHttp2SolrClient.Builder
---
 solr/CHANGES.txt                                                   | 2 ++
 .../java/org/apache/solr/client/solrj/impl/CloudSolrClient.java    | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 472df0a90ff..c4278bae571 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -73,6 +73,8 @@ Other Changes
 
 * SOLR-17956: XLSXResponseWriter has been deprecated and will be removed in a 
future release. (Jan Høydahl)
 
+* SOLR-17771: Deprecate `CloudSolrClient.Builder` in favor of 
`CloudHttp2SolrClient.Builder`. (James Dyer)
+
 ==================  9.9.1 ==================
 Bug Fixes
 ---------------------
diff --git 
a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java 
b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
index 5fca4aef486..ed7d9977364 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
@@ -124,7 +124,12 @@ public abstract class CloudSolrClient extends SolrClient {
 
   protected volatile Object[] locks = objectList(3);
 
-  /** Constructs {@link CloudSolrClient} instances from provided 
configuration. */
+  /**
+   * Constructs {@link CloudSolrClient} instances from provided configuration.
+   *
+   * @deprecated Please use {@link CloudHttp2SolrClient.Builder}
+   */
+  @Deprecated
   public static class Builder extends CloudHttp2SolrClient.Builder {
 
     /**

Reply via email to