[
https://issues.apache.org/jira/browse/LUCENENET-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton K. updated LUCENENET-53:
------------------------------
Attachment: SegmentsInfos-2.1.0-GetCurrentSegmentGeneration.patch
Here is a patch
> SegmentsInfos.GetCurrentSegmentGeneration works incorrectly
> -----------------------------------------------------------
>
> Key: LUCENENET-53
> URL: https://issues.apache.org/jira/browse/LUCENENET-53
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Anton K.
> Priority: Critical
> Attachments: SegmentsInfos-2.1.0-GetCurrentSegmentGeneration.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.