Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 197C540B973 for ; Tue, 27 Jul 2010 08:43:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=1] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GPhbcE3lLpN for ; Tue, 27 Jul 2010 08:43:31 -0700 (PDT) Received: from cp20 (cp20.secserverpros.com [67.220.217.187]) by olra.theworths.org (Postfix) with ESMTP id 0E82C4196F2 for ; Tue, 27 Jul 2010 08:43:31 -0700 (PDT) Received: from 118-160-160-73.dynamic.hinet.net ([118.160.160.73] helo=anar.kanru.info) by cp20 with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OdmJU-0003Vi-5V; Tue, 27 Jul 2010 15:43:28 +0000 Received: from kanru by anar.kanru.info with local (Exim 4.72) (envelope-from ) id 1OdmJP-0008Hq-EV; Tue, 27 Jul 2010 23:43:23 +0800 From: Kan-Ru Chen To: Carl Worth , notmuch@notmuchmail.org Subject: Re: [notmuch] Some Xapian tips and thoughts on rebuilding In-Reply-To: <87eilvgick.fsf@yoom.home.cworth.org> References: <87ocl1lut1.fsf@yoom.home.cworth.org> <87wrzoaye1.fsf@anar.kanru.info> <87eilvgick.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.3.1-59-g676d251 (http://notmuchmail.org) Emacs/24.0.50.1 (x86_64-pc-linux-gnu) Date: Tue, 27 Jul 2010 23:43:23 +0800 Message-ID: <87hbjlue04.fsf@anar.kanru.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp20 X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kanru.info X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 15:43:43 -0000 On Tue, 12 Jan 2010 12:48:27 -0800, Carl Worth wrote: > On Tue, 12 Jan 2010 09:46:14 +0800, Kan-Ru Chen wrote: > > After compacting my database, the size shrunk significantly, but the > > number of messages also changed. Beware that you might lose messages > > after compacting if you are trying this. > > > > run on xapian-svn r13824 > > Yikes. That's very discouraging. I'll try to do some more testing to see > if I can replicate that, and if so, look closer into what is happening. > > -Carl Seems this still does not work as expected. With the new `notmuch count' command: % notmuch count 131720 After xapian-compact-1.1 % notmuch count 1001 And a subsequent `notmuch new' % notmuch new Processed 6 total files in almost no time. Added 6 new messages to the database. % notmuch count A Xapian exception occurred: Value in posting list too large. Query string was: 0 - Kanru