lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <>
Subject [jira] Updated: (LUCENENET-90) Nunit test for TestIndexModifier.TestIndex
Date Thu, 23 Aug 2007 14:30:30 GMT


Digy updated LUCENENET-90:

    Attachment: IndexWriter.patch

> Nunit test for TestIndexModifier.TestIndex
> ------------------------------------------
>                 Key: LUCENENET-90
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Priority: Minor
>         Attachments: IndexModifier.patch, IndexWriter.patch, TestIndexModifier.patch
> IndexModifier uses DocCount of IndexWriter which returns the count of all documents(including
deleted ones) unless segments are merged(ex. when explicitely  calling Optimize). Changing
the DocCount of IndexWriter effects other parts of the project. So I added a new method "DocCountExcludingDeletedDocs"
to IndexWriter and used it in IndexModifier. 
> With this patch Nunit test succeeds.
> I will also add a patch for a new test method "TestIndexModifierDocCount" into the TestIndexModifier.cs

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

View raw message