lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Smith (JIRA)" <>
Subject [jira] Commented: (LUCENE-2071) Allow updating of IndexWriter SegmentReaders
Date Tue, 30 Mar 2010 19:32:27 GMT


Tim Smith commented on LUCENE-2071:

found a couple of small issues with the patch attached to this ticket:

1. applyDeletes issue

saw this was in another ticket

think the flush should be flush(true, true, false)
and applyDeletes() should be called in the synchronized block

2. IndexWriter.changeCount not updated

the call() method does not return a boolean indicating if there were any changes that would
need to be committed

as a result, if no other changes are made to the indexwriter, the commit will be skipped,
even though deletes/norm updates were sent in
IndexReader.reopen() will then return the "old" reader without the deletes/norms

> Allow updating of IndexWriter SegmentReaders
> --------------------------------------------
>                 Key: LUCENE-2071
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.9.1
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 3.1
>         Attachments: LUCENE-2071.patch
> This discussion kind of started in LUCENE-2047.  Basically, we'll allow users to perform
delete document, and norms updates on SegmentReaders that are handled by IndexWriter.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message