Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 27004 invoked from network); 23 Feb 2010 16:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2010 16:24:51 -0000 Received: (qmail 53810 invoked by uid 500); 23 Feb 2010 16:24:50 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 53733 invoked by uid 500); 23 Feb 2010 16:24:50 -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 53725 invoked by uid 99); 23 Feb 2010 16:24:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 16:24:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 23 Feb 2010 16:24:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EA8BD234C1EE for ; Tue, 23 Feb 2010 08:24:27 -0800 (PST) Message-ID: <1216674679.464211266942267959.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Feb 2010 16:24:27 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2281) Add doBeforeFlush to IndexWriter In-Reply-To: <1295237102.461401266932187839.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2281: ---------------------------------- Fix Version/s: 3.0.2 > Add doBeforeFlush to IndexWriter > -------------------------------- > > Key: LUCENE-2281 > URL: https://issues.apache.org/jira/browse/LUCENE-2281 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Shai Erera > Assignee: Michael McCandless > Fix For: 3.0.2, 3.1 > > Attachments: LUCENE-2281.patch > > > IndexWriter has doAfterFlush which can be overridden by extensions in order to perform operations after flush has been called. Since flush is final, one can only override doAfterFlush. This issue will handle two things: > # Make doAfterFlush protected, instead of package-private, to allow for easier extendability of IW. > # Add doBeforeFlush which will be called by flush before it starts, to allow extensions to perform any operations before flush begings. > Will post a patch shortly. > BTW, any chance to get it out in 3.0.1? -- 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