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

Catch NoSuchFileException when trying to open an index directory which does not exist

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0
    • luke
    • None
    • New

    Description

      When trying to open an index one can select from the dropdown "Index Path" (Dialog: "Choose index directory path") previously opened index directories.

      If such a previously opened index directory path has been deleted in the meantime, but one selects it from the dropdown, then the error message should tell that this directory does not exist.

      As an alternative Luke might be able to check the existence of the previously opened index directories before displaying in the dropdown

      Attachments

        1. LUCENE-10024-proposed-patch-with-spotless.txt
          3 kB
          Tomoko Uchida
        2. LUCENE-10024-remove-nonexisting-path.patch
          3 kB
          Tomoko Uchida
        3. proposed-patch.txt
          3 kB
          Michael Wechner

        Activity

          People

            Unassigned Unassigned
            michi Michael Wechner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: