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

Choose a specific Directory implementation running the CheckIndex main

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • None
    • None
    • New

    Description

      It should be possible to choose a specific Directory implementation to use during the CheckIndex process when we run it from its main.
      What about an additional main parameter?
      In fact, I'm experiencing some problems with MMapDirectory working with a big segment, and after some failed attempts playing with maxChunkSize, I decided to switch to another FSDirectory implementation but I needed to do that on my own main.
      Should we also consider to use a FileSwitchDirectory?
      I'm willing to contribute, could you please let me know your thoughts about it?

      Attachments

        1. LUCENE-3586.patch
          18 kB
          Luca Cavanna
        2. LUCENE-3586.patch
          18 kB
          Luca Cavanna
        3. LUCENE-3586.patch
          12 kB
          Luca Cavanna
        4. LUCENE-3586.patch
          10 kB
          Luca Cavanna

        Activity

          People

            lucacavanna Luca Cavanna
            lucacavanna Luca Cavanna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: