lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Brel (JIRA)" <>
Subject [jira] Updated: (LUCENENET-10) Supporting deleteDocuments in IndexWriter
Date Tue, 11 Jul 2006 20:55:30 GMT
     [ ]

Nicolas Brel updated LUCENENET-10:

    Attachment: IndexWriter.patch

Patch for lucene.Net  1.9 RC1

> Supporting deleteDocuments in IndexWriter
> -----------------------------------------
>          Key: LUCENENET-10
>          URL:
>      Project: Lucene.Net
>         Type: New Feature

>     Reporter: Nicolas Brel
>  Attachments: IndexWriter.patch
> Excerpt from the bug submited by Ning Li for Java Lucene: 
> Today, applications have to open/close an IndexWriter and open/close an 
> IndexReader directly or indirectly (via IndexModifier) in order to handle a 
> mix of inserts and deletes. This performs well when inserts and deletes 
> come in fairly large batches. However, the performance can degrade 
> dramatically when inserts and deletes are interleaved in small batches. 
> This is because the ramDirectory is flushed to disk whenever an IndexWriter 
> is closed, causing a lot of small segments to be created on disk, which 
> eventually need to be merged. 
> We would like to propose a small API change to eliminate this problem. We 
> are aware that this kind change has come up in discusions before. See 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message