lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Iliev (JIRA)" <>
Subject [jira] Commented: (LUCENENET-287) TestIndexWriterReader.TestUpdateDocument
Date Tue, 24 Nov 2009 14:35:39 GMT


Andrei Iliev commented on LUCENENET-287:


ArrayList.GetRange Method - Returns an ArrayList which represents a subset of the elements
in the source 
List.GetRange Method - Creates a shallow copy of a range of elements in the source List. 

That is why we had no problems when SegmentInfos was derived from ArrayList, but got a proble
when derive from SupportClass.EquatableList

> TestIndexWriterReader.TestUpdateDocument  
> ------------------------------------------
>                 Key: LUCENENET-287
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Andrei Iliev
>         Attachments: SegmentInfos.patch, SegmentInfos2.patch
> SegmentInfos  is derived from ArrayList. So Equals and GetHashCode should behave as java
ArrayList (see LUCENENET-284).
> After that patch TestIndexWriterReader.TestUpdateDocument is passed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message