Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7005

TieredMergePolicy tweaks (>= vs. >, @see get vs. set)

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      -   * @see #getMaxMergedSegmentMB */
      +   * @see #setMaxMergedSegmentMB */
         public double getMaxMergedSegmentMB() {
      

      and

         public TieredMergePolicy setFloorSegmentMB(double v) {
           if (v <= 0.0) {
      -      throw new IllegalArgumentException("floorSegmentMB must be >= 0.0 (got " + v + ")");
      +      throw new IllegalArgumentException("floorSegmentMB must be > 0.0 (got " + v + ")");
      

        Attachments

        1. LUCENE-7005.patch
          1 kB
          Christine Poerschke

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                cpoerschke Christine Poerschke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: