Lucene - Core
  1. Lucene - Core
  2. LUCENE-6355

Add verbose IndexWriter logging for writing field infos

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      SegmentMerger should also write the amount of time it takes to write the field infos during a merge. This makes it much easier to determine the contributing times for the total merge time.

        Activity

        Hide
        Lee Hinman added a comment -

        Here is a very simple patch, it adds the same time logging that is used in the rest of SegmentMerger.merge to writing the field infos.

        Show
        Lee Hinman added a comment - Here is a very simple patch, it adds the same time logging that is used in the rest of SegmentMerger.merge to writing the field infos.
        Hide
        Michael McCandless added a comment -

        Thanks Lee Hinman, patch looks great, I'll commit.

        Show
        Michael McCandless added a comment - Thanks Lee Hinman , patch looks great, I'll commit.
        Hide
        ASF subversion and git services added a comment -

        Commit 1666741 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1666741 ]

        LUCENE-6355: also log time to write FieldInfos during merge to IW's infoStream

        Show
        ASF subversion and git services added a comment - Commit 1666741 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1666741 ] LUCENE-6355 : also log time to write FieldInfos during merge to IW's infoStream
        Hide
        ASF subversion and git services added a comment -

        Commit 1666743 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1666743 ]

        LUCENE-6355: also log time to write FieldInfos during merge to IW's infoStream

        Show
        ASF subversion and git services added a comment - Commit 1666743 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1666743 ] LUCENE-6355 : also log time to write FieldInfos during merge to IW's infoStream
        Hide
        Michael McCandless added a comment -

        Thanks Lee Hinman

        Show
        Michael McCandless added a comment - Thanks Lee Hinman
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

          • Assignee:
            Unassigned
            Reporter:
            Lee Hinman
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development