You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2026/08/24 22:40:41 UTC

(solr) branch main updated: SOLR-18359: remove CreateTimeRoutedAlias.setMaxFutureMs(Integer) overload (#4781)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6a6ca81455b SOLR-18359: remove CreateTimeRoutedAlias.setMaxFutureMs(Integer) overload (#4781)
6a6ca81455b is described below

commit 6a6ca81455b1e34233d477b903062cd4dd43a1b7
Author: Serhiy Bzhezytskyy <me...@serhiy-bzhezytskyy.com>
AuthorDate: Tue Aug 25 01:40:35 2026 +0300

    SOLR-18359: remove CreateTimeRoutedAlias.setMaxFutureMs(Integer) overload (#4781)
---
 .../unreleased/SOLR-18359-remove-setmaxfuturems-integer.yml   |  7 +++++++
 .../solr/client/solrj/request/CollectionAdminRequest.java     | 11 -----------
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/changelog/unreleased/SOLR-18359-remove-setmaxfuturems-integer.yml b/changelog/unreleased/SOLR-18359-remove-setmaxfuturems-integer.yml
new file mode 100644
index 00000000000..65951c9262f
--- /dev/null
+++ b/changelog/unreleased/SOLR-18359-remove-setmaxfuturems-integer.yml
@@ -0,0 +1,7 @@
+title: Remove the deprecated CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs(Integer) overload; use setMaxFutureMs(Long) instead.
+type: removed
+authors:
+  - name: Serhiy Bzhezytskyy
+links:
+  - name: SOLR-18359
+    url: https://issues.apache.org/jira/browse/SOLR-18359
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/request/CollectionAdminRequest.java b/solr/solrj/src/java/org/apache/solr/client/solrj/request/CollectionAdminRequest.java
index 7147699a592..58533105461 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/request/CollectionAdminRequest.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/request/CollectionAdminRequest.java
@@ -2070,17 +2070,6 @@ public abstract class CollectionAdminRequest<T extends CollectionAdminResponse>
       return this;
     }
 
-    /**
-     * Sets how long into the future (millis) that we will allow a document to pass.
-     *
-     * @deprecated Please use {@link #setMaxFutureMs(Long)} instead.
-     */
-    @Deprecated
-    public CreateTimeRoutedAlias setMaxFutureMs(Integer maxFutureMs) {
-      this.maxFutureMs = Long.valueOf(maxFutureMs);
-      return this;
-    }
-
     /** Sets how long into the future (millis) that we will allow a document to pass. */
     public CreateTimeRoutedAlias setMaxFutureMs(Long maxFutureMs) {
       this.maxFutureMs = maxFutureMs;