[ 
https://issues.apache.org/jira/browse/LUCENENET-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Sale updated LUCENENET-157:
--------------------------------

    Attachment: GetFieldNames.patch

This patch should be applied from the ...\C#\src directory as it touches the 
following files:

- Lucene.Net\Index\CheckIndex.cs
- Lucene.Net\Index\MultiSegmentReader.cs
- Lucene.Net\Index\ParallelReader.cs
- Lucene.Net\Index\SegmentReader.cs
- Test\Index\TestIndexReader.cs
- Test\Index\TestParallelReader.cs
- Test\Index\TestSegmentReader.cs

This patch supercedes the 2 prior.

> 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, 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.

Reply via email to