Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15376

Update SolrJ CollectionAdminRequest.CreateTimeRoutedAlias.setMaxFutureMs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • clients - java, SolrJ
    • None

    Description

      `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.
         

      Attachments

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              bitnahian Nahian-Al Hasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m