lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Sevi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENENET-287) TestIndexWriterReader.TestUpdateDocument
Date Wed, 25 Nov 2009 15:47:39 GMT

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

Eran Sevi updated LUCENENET-287:
--------------------------------

    Attachment: SegmentInfos3.patch

Added SegmentInfos3.patch.

All TestIndexWriterReader tests passed.

For now I left the inheritance from ArrayList and implemented a simple override of the Equals
method from ArrayList.

A better solution might increase performance or be more elegant.

Eran.

> TestIndexWriterReader.TestUpdateDocument  
> ------------------------------------------
>
>                 Key: LUCENENET-287
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-287
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Andrei Iliev
>         Attachments: SegmentInfos.patch, SegmentInfos2.patch, SegmentInfos3.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.


Mime
View raw message