Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94BEB91D7 for ; Thu, 23 Feb 2012 10:07:59 +0000 (UTC) Received: (qmail 13380 invoked by uid 500); 23 Feb 2012 10:07:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 13336 invoked by uid 500); 23 Feb 2012 10:07:57 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 13328 invoked by uid 99); 23 Feb 2012 10:07:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 10:07:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian.lea@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-ee0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 10:07:51 +0000 Received: by eekd4 with SMTP id d4so391171eek.35 for ; Thu, 23 Feb 2012 02:07:31 -0800 (PST) Received-SPF: pass (google.com: domain of ian.lea@gmail.com designates 10.213.22.129 as permitted sender) client-ip=10.213.22.129; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ian.lea@gmail.com designates 10.213.22.129 as permitted sender) smtp.mail=ian.lea@gmail.com; dkim=pass header.i=ian.lea@gmail.com Received: from mr.google.com ([10.213.22.129]) by 10.213.22.129 with SMTP id n1mr233150ebb.30.1329991651265 (num_hops = 1); Thu, 23 Feb 2012 02:07:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ElgW67/fBpKstQc5wSSO54krkwV0Y+yw8Zo5fnTJBbM=; b=ALKvHxJNhuQutqdZtkh1jOTMmQd2uNegz94BR+138A7hPsGgS7iMhKr+CpxflbCOIb 41eGiw03Eoj41a7FKhpgfYcipcHq05m57gAEnr3Kx2hgSoE1EG9FoyskRdniK/r79rcm bDBVD3FDHDIVVRu1/Arzj8c0M2Z9CIn6RdxXg= Received: by 10.213.22.129 with SMTP id n1mr185331ebb.30.1329991651151; Thu, 23 Feb 2012 02:07:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.23.6 with HTTP; Thu, 23 Feb 2012 02:07:10 -0800 (PST) In-Reply-To: References: From: Ian Lea Date: Thu, 23 Feb 2012 10:07:10 +0000 Message-ID: Subject: Re: When deletes will be removed? To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Eventually, as more modifications take place and merges are triggered. If you really care, and are using the default TieredMergePolicy, you could try playing with TieredMergePolicy.setForceMergeDeletesPctAllowed(double v). Might help. Or you could call IndexWriter.forceMergeDeletes(), The javadocs warn that it is costly and rarely warranted but this is your index and system and if you think it is warranted, use it. -- Ian. On Thu, Feb 23, 2012 at 7:18 AM, Ganesh wrote: > Hello all, > > I am using v3.5 with all default options. In my index the deletes are not= removed. When will it be removed? I have not done optimize (forced merge). > > =A01618714 Feb 22 20:42 _11y_l.del > =A0 =A0 499 Feb 22 20:42 _195_k.del > =A0 =A0 591 Feb 22 20:42 _1hs_l.del > =A0 =A0 556 Feb 22 20:42 _1pl_l.del > =A0 =A0 535 Feb 22 20:42 _1x4_l.del > =A0 =A0 =A037 Feb 22 19:57 _1yd_1.del > =A0 =A0 295 Feb 22 20:42 _1yf_k.del > =A0 =A0 =A045 Feb 22 20:42 _1yh_3.del > =A0 =A0 =A037 Feb 22 19:22 _1yn_1.del > =A0 =A0 =A053 Feb 22 20:22 _1z0_6.del > =A0 =A0 =A037 Feb 22 19:22 _1z5_1.del > =A0 =A0 =A073 Feb 22 20:32 _1za_a.del > =A0 =A0 =A056 Feb 22 20:37 _1zj_7.del > =A0 =A0 =A037 Feb 22 19:52 _203_1.del > =A0 =A0 332 Feb 22 20:42 _a3_k.del > =A0 =A0 487 Feb 22 20:42 _ig_j.del > =A0 =A0 511 Feb 22 20:42 _rc_j.del > > Regards > Ganesh > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org