[PATCH 0/5] Fix adjacent and overlapping termpos
authorAustin Clements <amdragon@MIT.EDU>
Mon, 16 Jun 2014 02:40:29 +0000 (22:40 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:13 +0000 (10:03 -0800)
12/54739c9ec42fd6dc1301f7df01218250489751 [new file with mode: 0644]

diff --git a/12/54739c9ec42fd6dc1301f7df01218250489751 b/12/54739c9ec42fd6dc1301f7df01218250489751
new file mode 100644 (file)
index 0000000..c2c8dd0
--- /dev/null
@@ -0,0 +1,80 @@
+Return-Path: <amdragon@mit.edu>\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 15050431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 19:40:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 Qe7f3ddH1hOE for <notmuch@notmuchmail.org>;\r
+       Sun, 15 Jun 2014 19:40:43 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu\r
+       [18.7.68.37])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 3DCDE431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 19:40:43 -0700 (PDT)\r
+X-AuditID: 12074425-f79746d000000ecc-3f-539e59296e7c\r
+Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
+       (using TLS with cipher AES256-SHA (256/256 bits))\r
+       (Client did not present a certificate)\r
+       by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id 28.12.03788.9295E935; Sun, 15 Jun 2014 22:40:41 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s5G2eekg006813\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 22:40:41 -0400\r
+Received: from drake.dyndns.org\r
+       (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+       [216.15.114.40]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s5G2ed3B003345\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 22:40:40 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>) id 1WwMqd-0004H6-8X\r
+       for notmuch@notmuchmail.org; Sun, 15 Jun 2014 22:40:39 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/5] Fix adjacent and overlapping termpos\r
+Date: Sun, 15 Jun 2014 22:40:29 -0400\r
+Message-Id: <1402886434-16169-1-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 2.0.0.rc2\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsUixG6noqsZOS/Y4MhJQYvrN2cyOzB6PFt1\r
+       izmAMYrLJiU1J7MstUjfLoEr4/fZY4wFi5gqHlz/xdjA+JOxi5GTQ0LAROLZhFksELaYxIV7\r
+       69m6GLk4hARmM0lc/fKeFcI5zyhxZdtxKOcXk8Tir+/YIZzdjBKfX14C62cT0JDYtn852FwR\r
+       AWmJnXdns4LYwgKWEt82rgOzWQRUJXYt/sEOYvMKOEi8vfyAFWK3ksS9K3MYJzDyLGBkWMUo\r
+       m5JbpZubmJlTnJqsW5ycmJeXWqRroZebWaKXmlK6iRHscRfVHYwTDikdYhTgYFTi4Z3gOC9Y\r
+       iDWxrLgy9xCjJAeTkigvM0iILyk/pTIjsTgjvqg0J7X4EKMEB7OSCK+9D1CONyWxsiq1KB8m\r
+       Jc3BoiTO+9baKlhIID2xJDU7NbUgtQgmK8PBoSTBaxYB1ChYlJqeWpGWmVOCkGbi4AQZzgM0\r
+       3BKkhre4IDG3ODMdIn+KUVFKnJcTJCEAksgozYPrhUXkK0ZxoFeEeXNBqniA0QzX/QpoMBPQ\r
+       4JuLZ4EMLklESEk1MHKFrzQ9PlnFhblvk46OdQZHEs+jtvenOp/f/lw+5+UijuJEAbmc064n\r
+       Ug+ePHKM4+X5Ay8ubjxfem9qlahT46PYGZsflwTnvrD2TPDU8JH7vnnFoZeaVwymmCoU/q90\r
+       naYZkzTlvEhj2OLfM6v2zjhdlC+n5bqw4nD5yttTT1o+7uY/2NV9sEyJpTgj0VCLuag4EQAY\r
+       Ul/ZowIAAA==\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 Jun 2014 02:40:48 -0000\r
+\r
+This series fixes several related bugs that caused indexing to\r
+generate adjacent and overlapping term positions, which caused\r
+messages to incorrectly match phrase queries.  This obsoletes (and\r
+fixes) the known-broken tests from\r
+id:1400359552-10928-1-git-send-email-amdragon@mit.edu.\r
+\r