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

improve windows defaults in FSDirectory

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 3.1, 4.0-ALPHA
    • core/store
    • None
    • New

    Description

      Currently windows defaults to SimpleFSDirectory, but this is a problem due to the synchronization.

      I have been benchmarking queries sequentially and was pretty surprised at how much faster
      MMapDirectory is, for example for cases that do many seeks.

      I think we should change the defaults for windows as such:

      if (WINDOWS and UNMAP_SUPPORTED and 64-bit)
      use MMapDirectory
      else
      use SimpleFSDirectory

      I think we should just consider doing this for 4.0 only and see how it goes.

      Attachments

        1. LUCENE-2650.patch
          5 kB
          Robert Muir
        2. LUCENE-2650.patch
          5 kB
          Robert Muir

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: