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

Fix Directory implementations to use NIO2 APIs



    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 4.8, 6.0
    • Component/s: None
    • Labels:
    • Lucene Fields:
      New, Patch Available


      I have implemented 3 Directory subclasses using NIO2 API's (available on JDK7). These may be suitable for inclusion in a Lucene contrib module.

      See the mailing list at http://lucene.markmail.org/thread/lrv7miivzmjm3ml5 for more details about this code and the advantages it provides.

      The code is attached as a zip to this issue. I'll be happy to make any changes requested. I've included some minimal smoke tests, but any help in how to use the normal Lucene tests to perform more thorough testing would be appreciated.


        1. jdk7directory.zip
          24 kB
          Michael Poindexter
        2. LUCENE-4848.patch
          16 kB
          Uwe Schindler
        3. LUCENE-4848.patch
          15 kB
          Uwe Schindler
        4. LUCENE-4848.patch
          18 kB
          Michael Poindexter
        5. LUCENE-4848.patch
          14 kB
          Uwe Schindler
        6. LUCENE-4848.patch
          34 kB
          Uwe Schindler
        7. LUCENE-4848.patch
          32 kB
          Michael Poindexter
        8. LUCENE-4848.patch
          27 kB
          Uwe Schindler
        9. LUCENE-4848.patch
          25 kB
          Michael Poindexter
        10. LUCENE-4848.patch.txt
          30 kB
          Dawid Weiss
        11. LUCENE-4848-MMapDirectory.patch
          3 kB
          Uwe Schindler

          Issue Links



              • Assignee:
                uschindler Uwe Schindler
                mpoindexter Michael Poindexter
              • Votes:
                1 Vote for this issue
                3 Start watching this issue


                • Created: