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 AD0A7429E37 for ; Wed, 4 Jan 2012 08:16:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.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 WyohyUYt3KOS for ; Wed, 4 Jan 2012 08:16:17 -0800 (PST) X-Greylist: delayed 1615 seconds by postgrey-1.32 at olra; Wed, 04 Jan 2012 08:16:17 PST Received: from sommossa.investici.org (sommossa.investici.org [88.198.59.168]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 607C6429E21 for ; Wed, 4 Jan 2012 08:16:17 -0800 (PST) Received: from webmail9.autistici.org (localhost [127.0.0.1]) by sommossa.investici.org (Postfix) with ESMTP id 8E9A75EE81 for ; Wed, 4 Jan 2012 15:49:19 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 sommossa.investici.org 8E9A75EE81 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=logorroici.org; s=stigmate; t=1325692159; bh=Rv1Cn9JGnKvJlCEKia6gH0UANt5MhZ2zsNdUR53fpmw=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:Message-ID; b=k3cfLZQi3VomaDcdvJXeKSBU0NHsLs2c2/iZJpF9pbRLUoTiBHUQErfJW6eWyUv2k zTHD1uzlbS7lW3VNv1w7o36tL3YX9d06m4ztHxkK0c650desR3SP9RV6p2aGDLKXRU AaMb9xmucVAiD//4qIqouOJADlcneNF19tgmVqJI= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 04 Jan 2012 15:49:19 +0000 From: boyska To: Subject: Info about notmuch database Message-ID: <4e39a92bc2136f12ae6924e8878d5d1a@logorroici.org> X-Sender: piuttosto@logorroici.org User-Agent: autistici.org webmail 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: Wed, 04 Jan 2012 16:16:18 -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/ -- boyska GPG: 0x520CE393