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

[jira] [Comment Edited] (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=17335088#comment-17335088 ] 

Jason Gerlowski edited comment on SOLR-15376 at 6/11/21, 6:19 PM:
------------------------------------------------------------------

Sounds good, welcome to the team :).  You may find some helpful hints here: [https://cwiki.apache.org/confluence/display/solr/HowToContribute] 

For the current period where we have just split the repositories things are a bit more complicated than average.  Note that 8x is in [lucene-solr|https://github.com/apache/lucene-solr] and 9.0 is in [solr|https://github.com/apache/solr]. You can create your patch against whichever is most comfortable for you and I'll worry about porting it over to the other side.

(Edited to fix Gus' link)


was (Author: gus_heck):
Sounds good, welcome to the team :).  You may find some helpful hints here: [https://cwiki.apache.org/confluence/display/solr/HowToContribute] 

For the current period where we have just split the repositories things are a bit more complicated than average.  Note that 8x is in [lucene-solr|https://github.com/apache/lucene-solr] and 9.0 is in [solr|http://example.com/]. You can create your patch against whichever is most comfortable for you and I'll worry about porting it over to the other side. 

> Update SolrJ CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs
> ------------------------------------------------------------------------
>
>                 Key: SOLR-15376
>                 URL: https://issues.apache.org/jira/browse/SOLR-15376
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: clients - java
>            Reporter: Nahian-Al Hasan
>            Assignee: Gus Heck
>            Priority: Major
>
> `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