1 Return-Path: <schnouki@schnouki.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id CC550429E2E
\r
6 for <notmuch@notmuchmail.org>; Thu, 5 Jan 2012 07:04:28 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id SsjhOp8bzcyc for <notmuch@notmuchmail.org>;
\r
17 Thu, 5 Jan 2012 07:04:28 -0800 (PST)
\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
19 by olra.theworths.org (Postfix) with ESMTP id EEAAF429E27
\r
20 for <notmuch@notmuchmail.org>; Thu, 5 Jan 2012 07:04:27 -0800 (PST)
\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])
\r
22 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 57EBF6A0026;
\r
23 Thu, 5 Jan 2012 16:04:26 +0100 (CET)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
25 s=key-schnouki; t=1325775866;
\r
26 bh=AGDzphVh/EV5pnkJAPXUi9fWWG3a9AWG3Sa15Zjfkm4=;
\r
27 h=From:To:Subject:In-Reply-To:References:Date:Message-ID:
\r
28 MIME-Version:Content-Type;
\r
29 b=aM1/FX6SZfLR3qxXKYU0JvBmE6SK6sduesphVZn3aGzKPj7XT6XGXtcUKR75+Yr0j
\r
30 3maoYkSI+XcLaHt1MNkUrbiMHjZhf8efiPxOT55hn+eW7oSJX2ejByrDszXRcVCdpW
\r
31 Z6tzuyBZVsh+dyyzHQ7fPxjD4WRHQoJwL7q1E/rw=
\r
32 From: Thomas Jost <schnouki@schnouki.net>
\r
33 To: boyska <piuttosto@logorroici.org>, notmuch@notmuchmail.org
\r
34 Subject: Re: Info about notmuch database
\r
35 In-Reply-To: <4e39a92bc2136f12ae6924e8878d5d1a@logorroici.org>
\r
36 References: <4e39a92bc2136f12ae6924e8878d5d1a@logorroici.org>
\r
37 User-Agent: Notmuch/0.10.2+178~g8a0a6dd (http://notmuchmail.org)
\r
38 Emacs/24.0.92.1 (x86_64-unknown-linux-gnu)
\r
39 Date: Thu, 05 Jan 2012 16:04:22 +0100
\r
40 Message-ID: <87fwfup4w9.fsf@thor.loria.fr>
\r
42 Content-Type: multipart/signed; boundary="=-=-=";
\r
43 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Thu, 05 Jan 2012 15:04:28 -0000
\r
59 Content-Type: text/plain
\r
60 Content-Transfer-Encoding: quoted-printable
\r
62 On Wed, 04 Jan 2012 15:49:19 +0000, boyska <piuttosto@logorroici.org> wrote:
\r
64 > I like notmuch a lot, so I'm writing a (conceptually) similar software
\r
65 > about addressbook: it will scan all your emails, storing email=20
\r
67 > in a xapian database (you can think of it as little brother database[1]=20
\r
70 > The part that I'd like to re-implement is "notmuch new": it seems that
\r
71 > in the xapian db there is not only informations about each mail, but
\r
72 > also the mtime of each directory. My impression is this being=20
\r
74 > but probably I am just missing the point.
\r
76 > So, here's the question: how is the db "structured"? is there any
\r
77 > documentation to look at?
\r
79 > [1] http://www.spinnaker.de/lbdb/
\r
85 There's a description of the DB "schema" in lib/database.cc in the
\r
86 notmuch source code. But you may also consider just using libnotmuch
\r
87 instead, if that's enough for what you want to do.
\r
89 Also: why Xapian? I'm already using something similar I wrote with
\r
90 Python, storing everything in a dictionary, using Pickle to save that to
\r
91 disk: 162 lines of code and 45 kb of data are enough to store my
\r
92 addressbook and have completion in Emacs...
\r
100 Content-Type: application/pgp-signature
\r
102 -----BEGIN PGP SIGNATURE-----
\r
103 Version: GnuPG v1.4.11 (GNU/Linux)
\r
105 iQEcBAEBAgAGBQJPBbv2AAoJEMPdciX+bh5IXpcIAJO006W1G0d9VA75sQzkdPBt
\r
106 9PEEIq/d1s9vYseyfCjGHOBeLi8+fSVy9S3bDLp/dFVCZIlmp4DuPcsXFs9EUN3i
\r
107 quO5LIXbny7vNY2MlJq9DegD6ZP9Hkpk5wZ4I2w4QZqtSQdpVOO/DORX9ASjZTmF
\r
108 PRclg6cVcO89ivvrEVCLHTPvPPejN4d+lv3ELASilN3TYtb3nbvTv5DkkqQVoY0D
\r
109 cTW1hKS5Eds93mTL7pkyCoSU5NTt41UYVVaNj4dir/0TZMDcFir71NCW3wZAONyo
\r
110 7LmX5PtNQPWhiCf689jGmw5nkwk6aLzLt7SYBWyO4oVHJ7x6P8eft7+JS+ATYOY=
\r
112 -----END PGP SIGNATURE-----
\r