[
https://issues.apache.org/jira/browse/LUCENENET-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638062#action_12638062
]
Doug Sale commented on LUCENENET-157:
-------------------------------------
I am OK with the change you suggested. However, there are a number of other
classes that need to change, in addition to other changes in the files the
provided patch touches. Applying AnotherPatch.rar (SegmentReader.patch,
ParallerlReader.patch, and MultiSegmentReader.patch) leads to 17 unit test
failures from runtime incompatibilities. I have addressed these issues and
will upload the patch momentarily.
> SegmentMerger.AddIndexed() performs an illegal cast
> ---------------------------------------------------
>
> Key: LUCENENET-157
> URL: https://issues.apache.org/jira/browse/LUCENENET-157
> Project: Lucene.Net
> Issue Type: Bug
> Environment: any/all
> Reporter: Doug Sale
> Attachments: AnotherPatch.rar, SegmentMerger.patch
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> This is an error introduced via the JLCA (automated porting process) and
> stems from the use of System.Collections.Hashtable in the role of
> java.util.HashSet.
> SegmentMerger.AddIndexed() is passed a Hashtable as its 3rd argument, but
> treats it as if it were a 1-dimensional collection (e.g., IList).
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.