Re: A systematic way of handling Xapian lock errors?
[notmuch-archives.git] / f2 / e7b17710d45b91e9281e741ec5d5f02174c492
1 Return-Path: <mail1@2b1.de>\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 8D580431FAE\r
6         for <notmuch@notmuchmail.org>; Thu, 11 Jul 2013 01:39:26 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.313\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.313 tagged_above=-999 required=5\r
12         tests=[URI_HEX=1.313] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id R-Ug2bLavtLz for <notmuch@notmuchmail.org>;\r
16         Thu, 11 Jul 2013 01:39:22 -0700 (PDT)\r
17 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26])\r
18         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 5CB4A431FB6\r
21         for <notmuch@notmuchmail.org>; Thu, 11 Jul 2013 01:39:22 -0700 (PDT)\r
22 Received: from ben.nabble.com ([192.168.236.152])\r
23         by sam.nabble.com with esmtp (Exim 4.72)\r
24         (envelope-from <mail1@2b1.de>) id 1UxCPI-0006Q5-QX\r
25         for notmuch@notmuchmail.org; Thu, 11 Jul 2013 01:39:20 -0700\r
26 Date: Thu, 11 Jul 2013 01:39:20 -0700 (PDT)\r
27 From: ingo <mail1@2b1.de>\r
28 To: notmuch@notmuchmail.org\r
29 Message-ID: <1373531960691-4028438.post@n3.nabble.com>\r
30 In-Reply-To: <20130710125911.GA7198@kuru.dyndns-at-home.com>\r
31 References: <51DC0A16.5080704@2b1.de> <87mwpvd1fp.fsf@qmul.ac.uk>\r
32         <1373457313852-4028436.post@n3.nabble.com>\r
33         <20130710125911.GA7198@kuru.dyndns-at-home.com>\r
34 Subject: Re: notmuch search --output=files    error with AND NOT search terms\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=us-ascii\r
37 Content-Transfer-Encoding: 7bit\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Thu, 11 Jul 2013 08:39:26 -0000\r
51 \r
52 Hi Suvayu, \r
53 \r
54 \r
55 Suvayu Ali wrote\r
56 > Hi Ingo,\r
57\r
58 > On Wed, Jul 10, 2013 at 04:55:13AM -0700, ingo wrote:\r
59 >> Mark Walters wrote\r
60 >> > \r
61 >> > The most likely cause is that these two messagefiles have the same\r
62 >> > message-ids (so in notmuch's view are the same message). Try\r
63 >> > \r
64 >> > notmuch search --output=messages  folder:1_Personal AND NOT\r
65 >> tag:1_Personal\r
66 >> > \r
67 >> > If you only see one message-id then notmuch thinks there is a single\r
68 >> > message\r
69 >> > that matches the search. The way notmuch works is that it first finds\r
70 >> > which messages match and then prints the requested information for\r
71 >> those\r
72 >> > messages. So in this case it finds the matching message(s) then prints\r
73 >> > all filenames for those matching messages.\r
74 >> \r
75 >> Hi Mark,\r
76 >> \r
77 >> thank you for your answer, actually I only get one single message id, the\r
78 >> one I get without using --output=files.\r
79 >> \r
80 >> notmuch search --output=messages  folder:1_Personal AND NOT\r
81 >> tag:1_Personal \r
82 >> id:\r
83 \r
84 > f76b9be792c46795945e1486ccb2b2ab@.kikidan\r
85 \r
86\r
87 > Doesn't that confirm Mark's explanation?  Notmuch sees multiple files\r
88 > associated to the same message (identified by the message id).\r
89 \r
90 Yes, you are right, don't know where I had my head when answering. \r
91 \r
92 And both mails have the same message-id in the message header. \r
93 \r
94 Still, only one of both files really should be found with this search, so\r
95 why is the out put different?\r
96 \r
97 \r
98 Kind regards,\r
99 \r
100 Ingo \r
101 \r
102 \r
103 \r
104 --\r
105 View this message in context: http://notmuch.198994.n3.nabble.com/notmuch-search-output-files-error-with-AND-NOT-search-terms-tp4028432p4028438.html\r
106 Sent from the notmuch mailing list archive at Nabble.com.\r