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

Expose IndexFileNames as public, and make use of its methods in the code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      IndexFileNames is useful for applications that extend Lucene, an in particular those who extend Directory or IndexWriter. It provides useful constants and methods to query whether a certain file is a core Lucene file or not. In addition, IndexFileNames should be used by Lucene's code to generate segment file names, or query whether a certain file matches a certain extension.

      I'll post the patch shortly.

      Attachments

        1. LUCENE-2282.patch
          41 kB
          Shai Erera
        2. LUCENE-2282.patch
          41 kB
          Shai Erera
        3. LUCENE-2282.patch
          42 kB
          Shai Erera

        Activity

          People

            mikemccand Michael McCandless
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: