[ https://issues.apache.org/jira/browse/LUCENENET-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640285#action_12640285 ] dougsale edited comment on LUCENENET-157 at 10/16/08 12:38 PM: ---------------------------------------------------------------- Lucene.Net.Index.FieldInfos is also affected by the change to GetFieldNames() in SegmentReader This file FieldInfos.patch should be applied *in addition* to the GetFieldNames.patch file. was (Author: dougsale): Another class affected by the change to GetFieldNames() in SegmentReader This patch should be applied in addition to the GetFieldNames.patch file. > SegmentMerger.AddIndexed expects *Reader.GetFieldNames to return a 1-dimensional ICollection > -------------------------------------------------------------------------------------------- > > 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, FieldInfos.patch, GetFieldNames.patch, 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.