Re: storing From and Subject in xapian
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 16 May 2011 08:59:55 +0000 (10:59 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:15 +0000 (09:38 -0800)
7d/e928d12bc2de564940f31225bd63dd2c6c3292 [new file with mode: 0644]

diff --git a/7d/e928d12bc2de564940f31225bd63dd2c6c3292 b/7d/e928d12bc2de564940f31225bd63dd2c6c3292
new file mode 100644 (file)
index 0000000..ae64ad5
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <Sebastian@SSpaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D791A431FD0\r
+       for <notmuch@notmuchmail.org>; Mon, 16 May 2011 02:00:13 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.09\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id aNSOd5AjHnUk for <notmuch@notmuchmail.org>;\r
+       Mon, 16 May 2011 02:00:13 -0700 (PDT)\r
+Received: from homiemail-a17.g.dreamhost.com (mailbigip.dreamhost.com\r
+       [208.97.132.5])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0381C431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 16 May 2011 02:00:12 -0700 (PDT)\r
+Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 30F197A8064;\r
+       Mon, 16 May 2011 02:00:12 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject\r
+       :in-reply-to:references:date:message-id:mime-version:\r
+       content-type; q=dns; s=sspaeth.de; b=OK/W1OhaHdA65eFe7i1fbCGQiDU\r
+       YjqpvxnFn+bByLc7TqMQOb22C1mA6RncpZrYYdqOLHGWt2N4mQ7UWhs3OsaR1txb\r
+       kdvZ1Cv4Pelfrw27x255s3jdQcXGgg0uCOflpsOAvQxKJdwwUApcByse+qufZA6Y\r
+       ZKDFXMYvvlzmOtJI=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc\r
+       :subject:in-reply-to:references:date:message-id:mime-version:\r
+       content-type; s=sspaeth.de; bh=NO8pLUfPboVng64FqrzeOxgkaC8=; b=i\r
+       OrHQW+GI1KBJjYML8icMKi9HWt0NxVEMjKMi21L65xL2T4tF1Xv8yvnnkTBn1gUc\r
+       0jcMWCG0ECkkuK50Ih017fc72NR9GDcHoOTtap2zhcLXF9qimDIZT+25G9d0zjX0\r
+       2MsHdsUT/qtabXre52et/qSZQb1oHfVFhRbYKRjqwk=\r
+Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-253.ethz.ch\r
+       [129.132.133.253])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPSA id 7F6937A8063; \r
+       Mon, 16 May 2011 02:00:10 -0700 (PDT)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Mon, 16 May 2011 11:00:07 +0200\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: Austin Clements <amdragon@mit.edu>, Istvan Marko <notmuch@kismala.com>\r
+Subject: Re: storing From and Subject in xapian\r
+In-Reply-To: <BANLkTinVzQL2qRDbt4WhcPdL1D7D3N=aQg@mail.gmail.com>\r
+References: <m3sjsv2kw2.fsf@zsu.kismala.com>\r
+       <BANLkTinVzQL2qRDbt4WhcPdL1D7D3N=aQg@mail.gmail.com>\r
+User-Agent: Notmuch/0.5-164-g8ce82ed (http://notmuchmail.org) Emacs/23.1.50.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 16 May 2011 10:59:55 +0200\r
+Message-ID: <87ei3zaulw.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 16 May 2011 09:00:14 -0000\r
+\r
+--=-=-=\r
+\r
+On Sat, 14 May 2011 21:37:25 -0400, Austin Clements <amdragon@mit.edu> wrote:\r
+> I wonder if a better approach would be to use\r
+> notmuch_message_get_header everywhere, rather than introducing\r
+> _notmuch_message_get_header_value, and have it simply recognize\r
+> headers that can be retrieved directly from the database.  Then\r
+> library callers could take advantage of this optimization and it could\r
+> be trivially extended to other headers in the future.\r
+\r
++1, this is what the python bindings would prefer ;)\r
+\r
+Sebastian\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk3Q54sACgkQVYX1jMgnoGIMLgCbBncomOc2MmWFyNovu1E8qZIA\r
+nboAniErjFg6yMI/r79iuLx1VNy2qbEl\r
+=g658\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r