You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2021/11/17 23:24:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-15376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke resolved SOLR-15376.
----------------------------------------
    Fix Version/s: main (9.0)
         Assignee: Christine Poerschke  (was: Gus Heck)
       Resolution: Fixed

Thanks [~bitnahian] for contributing this improvement!

> 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, SolrJ
>            Reporter: Nahian-Al Hasan
>            Assignee: Christine Poerschke
>            Priority: Major
>             Fix For: main (9.0)
>
>          Time Spent: 2h 40m
>  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.20.1#820001)

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