Lucene - Core
  1. Lucene - Core
  2. LUCENE-2602

Default merge policy should take deletions into account

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 4.0-ALPHA
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      LUCENE-1634 added a calibrateSizeByDeletes; we had a TODO to default this to true as of 3.0 but we missed it. I'll fix it now for 3.1 and 4.0. While this is technically a change in back-compat (for 3.x), I think it's fine to make an exception here; this should be a big win for indices that have high doc turnover with time.

        Activity

        Grant Ingersoll made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564353 ] jira [ 12584877 ]
        Mark Thomas made changes -
        Workflow jira [ 12518013 ] Default workflow, editable Closed status [ 12564353 ]
        Hide
        Yonik Seeley added a comment -

        Great - I meant to add this as a default for solr quite some time ago.
        REMINDER (to self mainly, or anyone else willing): need to verify that solr correctly picks up this default (i.e doesn't accidentally override it).
        I know there were related issues like SOLR-1444.

        Show
        Yonik Seeley added a comment - Great - I meant to add this as a default for solr quite some time ago. REMINDER (to self mainly, or anyone else willing): need to verify that solr correctly picks up this default (i.e doesn't accidentally override it). I know there were related issues like SOLR-1444 .
        Michael McCandless made changes -
        Field Original Value New Value
        Fix Version/s 3.1 [ 12314822 ]
        Fix Version/s 4.0 [ 12314025 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Michael McCandless committed 985456 (49 files)
        Reviews: none

        LUCENE-2602: enable calibrateSizeByDeletes in default merge policy

        Lucene branch_3x
        Michael McCandless committed 985455 (2 files)
        Reviews: none

        LUCENE-2602: enable calibrateSizeByDeletes in default merge policy

        Michael McCandless created issue -

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development