Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 46542 invoked from network); 7 Jan 2010 16:36:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 16:36:13 -0000 Received: (qmail 52958 invoked by uid 500); 7 Jan 2010 16:36:11 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 52886 invoked by uid 500); 7 Jan 2010 16:36:11 -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 52876 invoked by uid 99); 7 Jan 2010 16:36:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 16:36:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.220.210 as permitted sender) Received: from [209.85.220.210] (HELO mail-fx0-f210.google.com) (209.85.220.210) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 16:36:02 +0000 Received: by fxm2 with SMTP id 2so16257068fxm.5 for ; Thu, 07 Jan 2010 08:35:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=P3oLpfuH08UthHHasRayJevaOtUQZ6JvLFqD/XlInVU=; b=vKWqXTmWZ5v0ab/T3b9WviMGifjddSgb/vPVeUcgj42H97iRanqY74dj/IW1rI39uW gGwedcqflbVMIUljeOWOBt1T3QhLwI933ml/gdcvJv4VP9eo+5rzuhOK8PaKrFoMfubs 5onjckkBVvFOiF2rnkQy6AySj7WE3BNNDk2XA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=XGOaXckWHsaslan2JwW5f1aZ4yxw/qmTbsjfeF5VO0xe5OCwRViXWXRu0NOBukY2P3 0tb51e0DRieKSbMudxeWKt+sgiRaVeFFlPB0//gTWJWPkw/bojrqsPcIoXgTJ3wFJFhv bbSPvPHTKxCVSVmYGSXR/uv8BO/jgkC5HkkCY= MIME-Version: 1.0 Received: by 10.239.192.81 with SMTP id d17mr522788hbi.16.1262882140505; Thu, 07 Jan 2010 08:35:40 -0800 (PST) Reply-To: simon.willnauer@gmail.com In-Reply-To: <0523297188849D479C16D5657F665769BB5CED486A@solute-exc2k7.solute.ka> References: <0523297188849D479C16D5657F665769BB5CED486A@solute-exc2k7.solute.ka> Date: Thu, 7 Jan 2010 17:35:40 +0100 Message-ID: Subject: Re: Lucene 2.9 and 3.0: Optimized index is thrice as large as the not optimized index From: Simon Willnauer To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Do you have a reader open on the index which was opened before your your index was optimized? Maybe there is a reader around holding on the references to the merged segments. simon On Thu, Jan 7, 2010 at 5:23 PM, Yuliya Palchaninava wrote: > Hi, > > According to the api documentation: "In general, once the optimize comple= tes, the total size of the index will be less than the size of the starting= index. It could be quite a bit smaller (if there were many pending deletes= ) or just slightly smaller". In our case the index becomes not smaller but = larger, namely thrice as large. > > The not optimized index doesn't contain compressed fields, what could hav= e caused the growth of the index due to the otimization. So we cannot expla= in what happens. > > Does someone have an explanation for the index growth due to the optimiza= tion? > > Thanks, > Yuliya > > > --------------------------------------------------------------------- > 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