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

Fix Directory implementations to use NIO2 APIs

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.0
    • 4.8, 6.0
    • None
    • New, Patch Available

    Description

      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.

      Attachments

        1. LUCENE-4848.patch
          16 kB
          Uwe Schindler
        2. LUCENE-4848.patch
          15 kB
          Uwe Schindler
        3. LUCENE-4848.patch
          18 kB
          Michael Poindexter
        4. LUCENE-4848.patch
          14 kB
          Uwe Schindler
        5. LUCENE-4848.patch.txt
          30 kB
          Dawid Weiss
        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-MMapDirectory.patch
          3 kB
          Uwe Schindler
        11. jdk7directory.zip
          24 kB
          Michael Poindexter

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: