Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 55692 invoked from network); 14 Feb 2011 22:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 22:45:22 -0000 Received: (qmail 91724 invoked by uid 500); 14 Feb 2011 22:45:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 91442 invoked by uid 500); 14 Feb 2011 22:45:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 91341 invoked by uid 99); 14 Feb 2011 22:45:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 22:45:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 22:45:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 863601A5472 for ; Mon, 14 Feb 2011 22:44:57 +0000 (UTC) Date: Mon, 14 Feb 2011 22:44:57 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <1357161372.16036.1297723497546.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (LUCENE-2918) IndexWriter should prune 100% deleted segs even in the NRT case 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 IndexWriter should prune 100% deleted segs even in the NRT case --------------------------------------------------------------- Key: LUCENE-2918 URL: https://issues.apache.org/jira/browse/LUCENE-2918 Project: Lucene - Java Issue Type: Improvement Components: Index Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 3.2, 4.0 We now prune 100% deleted segs on commit from IW or IR (LUCENE-2010), but this isn't quite aggressive enough, because in the NRT case you rarely call commit. Instead, the moment we delete the last doc of a segment, it should be pruned from the in-memory segmentInfos. This way, if you open an NRT reader, or a merge kicks off, or commit is called, the 100% deleted segment is already gone. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org