You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Nahian-Al Hasan (Jira)" <ji...@apache.org> on 2021/08/11 05:51:00 UTC

[jira] [Commented] (SOLR-15376) Update SolrJ CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs

    [ https://issues.apache.org/jira/browse/SOLR-15376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397080#comment-17397080 ] 

Nahian-Al Hasan commented on SOLR-15376:
----------------------------------------

Hi. I've made a PR but it's remained stale for a while. Just bumping this thread for some traction. :) 

> Update SolrJ CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs
> ------------------------------------------------------------------------
>
>                 Key: SOLR-15376
>                 URL: https://issues.apache.org/jira/browse/SOLR-15376
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Nahian-Al Hasan
>            Assignee: Gus Heck
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> `CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs` method only accepts an integer value as a parameter. The Java Integer.MAX_VALUE is `2147483647`. This value is too small to accommodate for any duration greater than ~ 25 days. 
> Solution:
> - Update the parameter to accept a String value for bigger a bigger duration. This is already possible via the `CollectionAdminRequest.SetAliasProperty` class.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org