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

Fix RAMDirectory's IndexInput to not double-buffer on slice()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10, 6.0
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      After LUCENE-4371, we still have a non-optimal implementation of IndexInput#slice() in RAMDirectory. We should fix that to use the cloning approach like other directories do

        Attachments

        1. LUCENE-5681.patch
          7 kB
          Uwe Schindler
        2. LUCENE-5681.patch
          7 kB
          Uwe Schindler
        3. LUCENE-5681.patch
          6 kB
          Uwe Schindler

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: