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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10, 6.0
    • core/store
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: