Lucene - Core
  1. Lucene - Core
  2. LUCENE-6606

add SortingMergePolicy's sorter (if any) to SegmentInfo.toString

    Details

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

      Description

      github pull request with proposed change to follow, it also extends TestSortingMergePolicy to randomly choose regular or reverse sorting order.

        Activity

        Hide
        ASF GitHub Bot added a comment -

        GitHub user cpoerschke opened a pull request:

        https://github.com/apache/lucene-solr/pull/160

        LUCENE-6606: add SortingMergePolicy's sorter to SegmentInfo.toString

        for https://issues.apache.org/jira/i#browse/LUCENE-6606

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/bloomberg/lucene-solr trunk-SegmentInfo-toString

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/lucene-solr/pull/160.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #160


        commit 49c8fdff29c23d1dcc62aab1cb3fabe0b03daa07
        Author: Christine Poerschke <cpoerschke@bloomberg.net>
        Date: 2015-06-23T14:08:30Z

        LUCENE-????: add SortingMergePolicy's sorter (if any) to SegmentInfo.toString

        Also changed TestSortingMergePolicy.setUp to randomly choose regular or reverse sorting order.


        Show
        ASF GitHub Bot added a comment - GitHub user cpoerschke opened a pull request: https://github.com/apache/lucene-solr/pull/160 LUCENE-6606 : add SortingMergePolicy's sorter to SegmentInfo.toString for https://issues.apache.org/jira/i#browse/LUCENE-6606 You can merge this pull request into a Git repository by running: $ git pull https://github.com/bloomberg/lucene-solr trunk-SegmentInfo-toString Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/160.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #160 commit 49c8fdff29c23d1dcc62aab1cb3fabe0b03daa07 Author: Christine Poerschke <cpoerschke@bloomberg.net> Date: 2015-06-23T14:08:30Z LUCENE-????: add SortingMergePolicy's sorter (if any) to SegmentInfo.toString Also changed TestSortingMergePolicy.setUp to randomly choose regular or reverse sorting order.
        Hide
        Michael McCandless added a comment -

        Thanks Christine Poerschke, I think this makes sense: how a segment was sorted is important to know.

        Show
        Michael McCandless added a comment - Thanks Christine Poerschke , I think this makes sense: how a segment was sorted is important to know.
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-6606: SegmentInfo.toString now includes the sorter if SortingMergePolicy was used

        Show
        ASF subversion and git services added a comment - Commit 1687976 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1687976 ] LUCENE-6606 : SegmentInfo.toString now includes the sorter if SortingMergePolicy was used
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-6606: SegmentInfo.toString now includes the sorter if SortingMergePolicy was used

        Show
        ASF subversion and git services added a comment - Commit 1687977 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1687977 ] LUCENE-6606 : SegmentInfo.toString now includes the sorter if SortingMergePolicy was used
        Hide
        Michael McCandless added a comment -
        Show
        Michael McCandless added a comment - Thanks Christine Poerschke !
        Hide
        Shalin Shekhar Mangar added a comment -

        Bulk close for 5.3.0 release

        Show
        Shalin Shekhar Mangar added a comment - Bulk close for 5.3.0 release
        Hide
        ASF GitHub Bot added a comment -

        Github user cpoerschke closed the pull request at:

        https://github.com/apache/lucene-solr/pull/160

        Show
        ASF GitHub Bot added a comment - Github user cpoerschke closed the pull request at: https://github.com/apache/lucene-solr/pull/160

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development