[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] Commented: (LUCENE-2071) Allow updating of IndexWriter
From:       "Tim Smith (JIRA)" <jira () apache ! org>
Date:       2010-03-30 19:32:27
Message-ID: 1855429661.585581269977547401.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]


    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic