Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-53

SegmentsInfos.GetCurrentSegmentGeneration works incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      SegmentsInfos.GetCurrentSegmentGeneration uses StartWith for full file path instead of file name.
      So Lucene.Net.Index.IndexReader.IndexExists(dirPath) always returns false. GetCurrentSegmentGeneration is used in some other functions. So some other hidden problems are possible.

      Attachments

        Activity

          People

            georgearoush George Aroush
            anton! Anton K.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: