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

Choose a specific Directory implementation running the CheckIndex main

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: