Re: [PATCH] Store "from" and "subject" headers in the database.
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 14 Nov 2011 06:34:38 +0000 (22:34 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:10 +0000 (09:40 -0800)
80/9aa4ca03e1e5344cf3d1a03970c0fc978de399 [new file with mode: 0644]

diff --git a/80/9aa4ca03e1e5344cf3d1a03970c0fc978de399 b/80/9aa4ca03e1e5344cf3d1a03970c0fc978de399
new file mode 100644 (file)
index 0000000..fe93354
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <jrollins@finestructure.net>\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 8407C429E21\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 22:34:48 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, 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 NiIW8DjUAtKB for <notmuch@notmuchmail.org>;\r
+       Sun, 13 Nov 2011 22:34:47 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id BD4C6431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 22:34:47 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 5080D66E00E4;\r
+       Sun, 13 Nov 2011 22:34:45 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-174-136-149.socal.res.rr.com\r
+       [76.174.136.149]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 77E6F66E00CF;\r
+       Sun, 13 Nov 2011 22:34:41 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id E747B36C; Sun, 13 Nov 2011 22:34:40 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Store "from" and "subject" headers in the database.\r
+In-Reply-To: <1320599856-24078-1-git-send-email-amdragon@mit.edu>\r
+References: <1320599856-24078-1-git-send-email-amdragon@mit.edu>\r
+User-Agent: Notmuch/0.9+78~g0c48b2d (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 13 Nov 2011 22:34:38 -0800\r
+Message-ID: <877h331abl.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+Cc: notmuch@kismala.com\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, 14 Nov 2011 06:34:48 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sun,  6 Nov 2011 12:17:36 -0500, Austin Clements <amdragon@MIT.EDU> wrot=\r
+e:\r
+> This is a rebase and cleanup of Istvan Marko's patch from\r
+> id:m3pqnj2j7a.fsf@zsu.kismala.com\r
+>=20\r
+> Search retrieves these headers for every message in the search\r
+> results.  Previously, this required opening and parsing every message\r
+> file.  Storing them directly in the database significantly reduces IO\r
+> and computation, speeding up search by between 50% and 10X.\r
+\r
+Hey, Austin.  This is a very nice patch.  Short and sweet, a really nice\r
+performance improvement, and a nice gentle fallback.\r
+\r
+I just rebuilt my database and I can definitely see the improvements.\r
+Search results are incredibly snappy, and the resultant database is only\r
+about 8% bigger.\r
+\r
+I fully endorse this being pushed.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOwLZ+AAoJEO00zqvie6q86fUP/34JOJ9Abt0b1iMXwWw98mND\r
+p+xx9Q0dhi5zesWThXTh58dLFFpx23BzyOwBwCj7LX6MAui7+jxCqxZ8XFmjXGKd\r
+mV9SY2N3XESYZlk/Dw0YfDuH6hSKXxSJIzIyz3rIZZCOAYyxjF9NoXg1ymFV1wJz\r
+29WkfO84H+45heEqHcS3AxZ8TtmI2W2zWocV142kzu0tMytVIsjZAfLgbuuZGVEM\r
++tJx/JXpwkgsX1/zRNpfb7oa+QmAl/KQx4pPNSgyOCA7wYkNZCbrNB/0834Wyipg\r
+Qj6eCgoJUynpAV8sDzbeiB6lbRIhmwq+5j87vwSJBsoPQfVL+rc+aDFyGlKxwjX4\r
+SAnF3qw2nhlFmgMdFdiZXYvcnUJd8J+wrdLwKVLKYzFmnMO55GHktaORWkba1gxm\r
+yJFTbWbps++30nva0FESucubM9EWmDkBUkcf4rvhuLMoFJyWCpQS9Qkx8TJBSL+x\r
+rJolW9b1D9vxxfzlx0A00XNXBVE9Z9wkfZT8p/mLFlw/b3VkqrnoJLtpufeE10iW\r
+EJABzBJzWC2zkdfHnx2EhfpAe+QCHiGSShWKZsDkikGbU2DYIlu6/33blRPg7Qcf\r
+EDP5YaWWTWF9caSBjWA+MyKaF1m6B4gsaugUIg/KZYKxHM0ulKYmAI/Zxz9efByC\r
+ZkAiTB9lwtPU2ASnuYsL\r
+=ia1o\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r