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

Improve BufferedIndexInput.SlicedIndexInput to directly delegate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: