Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 95765 invoked from network); 30 Mar 2010 19:32:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Mar 2010 19:32:49 -0000 Received: (qmail 27428 invoked by uid 500); 30 Mar 2010 19:32:48 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 27393 invoked by uid 500); 30 Mar 2010 19:32:48 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 27386 invoked by uid 99); 30 Mar 2010 19:32:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Mar 2010 19:32:48 +0000 X-ASF-Spam-Status: No, hits=-1176.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Mar 2010 19:32:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62451234C4BE for ; Tue, 30 Mar 2010 19:32:27 +0000 (UTC) Message-ID: <1855429661.585581269977547401.JavaMail.jira@brutus.apache.org> Date: Tue, 30 Mar 2010 19:32:27 +0000 (UTC) From: "Tim Smith (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2071) Allow updating of IndexWriter SegmentReaders In-Reply-To: <1228656860.1258398099629.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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