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

FileSwitchDirectory should uniqueify the String file names returned by listAll

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: