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

Improve BufferedIndexInput.SlicedIndexInput to directly delegate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • core/store
    • None
    • New

    Description

      Currently we have some IndexInputs which do not have a separate slice() implementation. Those are using BufferedIndexInput#wrap(), which extends BufferedInputStream. This is nonsense, because the underlying IndexInput is in most cases already Buffered, and if not, its not needed.

      This issue will change SlicedIndexInput to directly delegate, correcting offsets. The new class SlicedIndexInput will be top level and public.

      Attachments

        1. LUCENE-5828.patch
          12 kB
          Uwe Schindler
        2. LUCENE-5828.patch
          12 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: