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 6C1E4429E29 for ; Mon, 2 Jan 2012 08:30:59 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.9 X-Spam-Level: X-Spam-Status: No, score=0.9 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_RELAY_MUA_TO_MX=1] autolearn=disabled 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 apaobH5OtKQs for ; Mon, 2 Jan 2012 08:30:58 -0800 (PST) X-Greylist: delayed 1596 seconds by postgrey-1.32 at olra; Mon, 02 Jan 2012 08:30:58 PST Received: from confino.investici.org (investici.nine.ch [217.150.252.179]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6C0D7429E21 for ; Mon, 2 Jan 2012 08:30:58 -0800 (PST) Received: from [217.150.252.179] (confino [217.150.252.179]) (Authenticated sender: piuttosto@logorroici.org) by localhost (Postfix) with ESMTPSA id CC27BC864C for ; Mon, 2 Jan 2012 16:04:18 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 confino.investici.org CC27BC864C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=logorroici.org; s=stigmate; t=1325520260; bh=hKrS6EphpHTcYtW4hFGNa3A7BF4jkVjbEJP9cYMwSs0=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=lozhuDHprxWMxLdCNRAVzTrndVDtE9CabgoxCZHt1RKQVf5GPtco0nVWPCrN7n5Xs mylaR/xeQPBF+Z/JTiwISvNVp2FWvOt5Ct4iFtDYIDBsEXS5EAuPjoqT4b5bdOp8+W /6KKYiSWQpgx4Xmt8ldePncaPz2UBjSLYcaYglmQ= Date: Mon, 2 Jan 2012 17:04:17 +0100 From: piuttosto@logorroici.org To: notmuch@notmuchmail.org Subject: Info about notmuch database Message-ID: <20120102160417.GA15640@edge> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Wed, 11 Jan 2012 18:03:19 -0800 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: Mon, 02 Jan 2012 16:30:59 -0000 Hello! I like notmuch a lot, so I'm writing a (conceptually) similar software about addressbook: it will scan all your emails, storing email addresses in a xapian database (you can think of it as little brother database[1] on steroids) The part that I'd like to re-implement is "notmuch new": it seems that in the xapian db there is not only informations about each mail, but also the mtime of each directory. My impression is this being "chaotic", but probably I am just missing the point. So, here's the question: how is the db "structured"? is there any documentation to look at? [1] http://www.spinnaker.de/lbdb/