[ https://issues.apache.org/jira/browse/LUCENE-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851528#action_12851528 ]
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: https://issues.apache.org/jira/browse/LUCENE-2071 > 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org