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

FileSwitchDirectory should uniqueify the String file names returned by listAll

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • None
    • None
    • New

    Description

      Right now we blindly concatenate what's returned from primary & secondary.

      But a legit use of FSD is pointing to the same underlying FSDir but w/ different impls for opening the inputs/outputs.

      I have simple patch that just uniqueifies using Set<String>.

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: