Re: Strange match to my query
authorCarl Worth <cworth@cworth.org>
Wed, 26 Jan 2011 02:19:17 +0000 (12:19 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:45 +0000 (09:37 -0800)
80/4e47eeabdace8ed05ffeeaa98d1949a208e0be [new file with mode: 0644]

diff --git a/80/4e47eeabdace8ed05ffeeaa98d1949a208e0be b/80/4e47eeabdace8ed05ffeeaa98d1949a208e0be
new file mode 100644 (file)
index 0000000..1f9e16d
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <cworth@cworth.org>\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 045B9429E20\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Jan 2011 18:19:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.99\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, 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 jRWxl8smCw5D; Tue, 25 Jan 2011 18:19:18 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 34FF4431FB6;\r
+       Tue, 25 Jan 2011 18:19:18 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 65B992540DE; Wed, 26 Jan 2011 12:19:17 +1000 (EST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Austin Clements <amdragon@gmail.com>,\r
+       Mark Anderson <MarkR.Anderson@amd.com>\r
+Subject: Re: Strange match to my query\r
+In-Reply-To: <AANLkTikzBkHoTUO41byUrZrTPk1YUgG+rDPKtsTSq2sy@mail.gmail.com>\r
+References: <3wd4o8wa7fx.fsf@testarossa.amd.com>\r
+       <AANLkTikzBkHoTUO41byUrZrTPk1YUgG+rDPKtsTSq2sy@mail.gmail.com>\r
+User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Wed, 26 Jan 2011 12:19:17 +1000\r
+Message-ID: <8762tc2yqi.fsf@yoom.home.cworth.org>\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: Wed, 26 Jan 2011 02:19:19 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 25 Jan 2011 19:51:14 -0500, Austin Clements <amdragon@gmail.com> wr=\r
+ote:\r
+> Well-constructed test message.  Xapian's query parser is actually doing t=\r
+he\r
+> right thing [1] and this is a bug in the way notmuch indexes address list\r
+> headers.  For each address, _notmuch_message_gen_terms resets the term\r
+> generator's term position, so your To header indexes with positions as\r
+>   c:1 hello:2 com:3 K:1 R:2 world:3 com:4\r
+\r
+Thanks, Austin!\r
+\r
+I was actually giving a demo of notmuch to someone yesterday who was\r
+really interested in the details of how Xapian actually stores things.\r
+\r
+I dug around a bit with delve and we were both really surprised by the\r
+position results we were seeing. Neither of us could make any sense of\r
+them at all.\r
+\r
+And thanks, Mark for the bug report and the nice test case. I'll add\r
+this to the test suite, and fix it. And that will give us yet one more\r
+reason for all of us to rebuild our databases after the upcoming\r
+release.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFNP4Sl6JDdNq8qSWgRAkRmAJwICXvfIhDZlTKP8OnTjO/AMxQ9RgCfXNoB\r
+qIGc7gNG25Jyk1dwFLq/NzM=\r
+=9G1i\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r