Lucene - Core
  1. Lucene - Core
  2. LUCENE-5998

Remove unnecessary codec *infos abstractions

    Details

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

      Description

      SI and FIS formats have no state, e.g. they dont hold on to file handles or anything. neither their Readers or Writers are closeable, they each both just contain one simple read() or write() method respectively.

      We should remove these unnecessary abstractions.

      1. LUCENE-5998.patch
        204 kB
        Robert Muir

        Activity

        Hide
        Ryan Ernst added a comment -

        +1

        Show
        Ryan Ernst added a comment - +1
        Hide
        Adrien Grand added a comment -

        +1 I like this new API better!

        Show
        Adrien Grand added a comment - +1 I like this new API better!
        Hide
        Michael McCandless added a comment -

        +1

        Show
        Michael McCandless added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1630072 from Robert Muir in branch 'dev/trunk'
        [ https://svn.apache.org/r1630072 ]

        LUCENE-5998: Remove unnecessary infos abstractions

        Show
        ASF subversion and git services added a comment - Commit 1630072 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1630072 ] LUCENE-5998 : Remove unnecessary infos abstractions
        Hide
        ASF subversion and git services added a comment -

        Commit 1630075 from Robert Muir in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1630075 ]

        LUCENE-5998: Remove unnecessary infos abstractions

        Show
        ASF subversion and git services added a comment - Commit 1630075 from Robert Muir in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1630075 ] LUCENE-5998 : Remove unnecessary infos abstractions
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development