[PATCH v2 11/14] cli/reply: return internet address list from get header funcs
[notmuch-archives.git] / 3c / 874aee1d826dafe45adcb8c0930bf0b57140bf
1 Return-Path: <petri@koodaamo.fi>\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 98F12431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  3 Oct 2012 11:32:32 -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: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 CnJCdL26sae3 for <notmuch@notmuchmail.org>;\r
16         Wed,  3 Oct 2012 11:32:31 -0700 (PDT)\r
17 Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com\r
18         [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id D24B4431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  3 Oct 2012 11:32:31 -0700 (PDT)\r
22 Received: by vbbfc21 with SMTP id fc21so8577509vbb.26\r
23         for <notmuch@notmuchmail.org>; Wed, 03 Oct 2012 11:32:31 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=mime-version:x-originating-ip:in-reply-to:references:date\r
27         :message-id:subject:from:to:cc:content-type:x-gm-message-state;\r
28         bh=/DBWPqwqhYD2Tm3A8NIpuJjd5XmC+cU+LjlwuU3tf/4=;\r
29         b=Xfs74vhoGKAqAkSmg8SW5Zq5KqaowY+lf+ktNHfelTZ/jUwpq40xKeXHw4G38HAh88\r
30         wZsVr9Zk2eHsBfcDTVnG7y68TbZ2/U5BRkE1yU6ZsW2vZ76xScLUfe970f47CiVgW/g5\r
31         YYEprvF/aeOS6F0SnWk9v3vFw3dyp7DF7+2KB9vaEX2Wvk3bzx5RaSGD0AETv8hLrhon\r
32         EyLXFNUsS38PDPogEpWuUN7zS7JVM5TzjaEnex3zEakSDIaUStSr/rCkds0YnS4cTxQ1\r
33         s+wp/bX+KdTD6UM0Sxw1NFj+gptzwGRmHoqDO9HlKWKMovShV7NqwlzwH2LUnroYbL4B\r
34         6b7w==\r
35 MIME-Version: 1.0\r
36 Received: by 10.52.174.82 with SMTP id bq18mr1362106vdc.25.1349289151127; Wed,\r
37         03 Oct 2012 11:32:31 -0700 (PDT)\r
38 Received: by 10.58.94.136 with HTTP; Wed, 3 Oct 2012 11:32:30 -0700 (PDT)\r
39 X-Originating-IP: [91.155.82.121]\r
40 In-Reply-To: <20121001154309.GE26662@mit.edu>\r
41 References:\r
42  <CACXwgK9bmyqUMmw9LNhqc7o86_LXx8agQByusBiQt_wRbQ8O=w@mail.gmail.com>\r
43         <20121001154309.GE26662@mit.edu>\r
44 Date: Wed, 3 Oct 2012 21:32:30 +0300\r
45 Message-ID:\r
46  <CACXwgK8Any3Cd+eO21Frz2X8P1kcOkw9XDTN5jj1Nu-DQdHRUg@mail.gmail.com>\r
47 Subject: Re: How to index arbitrary headers?\r
48 From: Petri Savolainen <petri@koodaamo.fi>\r
49 To: Austin Clements <amdragon@mit.edu>\r
50 Content-Type: multipart/alternative; boundary=bcaec51ba61b8d606f04cb2bdca2\r
51 X-Gm-Message-State:\r
52  ALoCoQnlDCHIq2QupaRcpy9DS5tTlRTPOzZKVjwl/hO7bYNAIx8OHIsEJis1JJm9JpUkcZZc2+wX\r
53 X-Mailman-Approved-At: Wed, 03 Oct 2012 22:58:24 -0700\r
54 Cc: notmuch@notmuchmail.org\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Wed, 03 Oct 2012 18:32:32 -0000\r
68 \r
69 --bcaec51ba61b8d606f04cb2bdca2\r
70 Content-Type: text/plain; charset=ISO-8859-1\r
71 \r
72 Hi,\r
73 \r
74 thanks for your response. I am evaluating notmuch / xapian for building an\r
75 application for analyzing in various ways a fairly large number of emails\r
76 accumulated over several years. I am afraid the number of headers that\r
77 would ultimately need to be indexed is therefore quite a lot larger than\r
78 what notmuch currently indexes.\r
79 \r
80  Petri\r
81 \r
82 2012/10/1 Austin Clements <amdragon@mit.edu>\r
83 \r
84 > Quoth Petri Savolainen on Oct 01 at  3:39 pm:\r
85 > >    Hello,\r
86 > >    I could not find information anywhere in notmuch docs about what is\r
87 > >    actually indexed - specifically, what email headers are indexed and\r
88 > >    searchable? If a header is not indexed, does searching for its value\r
89 > still\r
90 > >    result in a search hit?\r
91 > >    It would be nice if one could just provide the list of headers to be\r
92 > >    indexed in some configuration file or something.\r
93 > >    Thanks,\r
94 > >     Petri\r
95 >\r
96 > notmuch doesn't currently implement this, though it is an\r
97 > oft-requested feature.  One (not insurmountable) difficulty is that\r
98 > the database would have to be rebuilt if a user-configured list of\r
99 > headers changed and there are technical limitations that prevent us\r
100 > from simply indexing all headers.  Out of curiosity, what headers are\r
101 > you interested in indexing?\r
102 >\r
103 > The currently indexed headers are described in man\r
104 > notmuch-search-terms.\r
105 >\r
106 \r
107 --bcaec51ba61b8d606f04cb2bdca2\r
108 Content-Type: text/html; charset=ISO-8859-1\r
109 Content-Transfer-Encoding: quoted-printable\r
110 \r
111 Hi,<div><br></div><div>thanks for your response.=A0I am evaluating notmuch =\r
112 / xapian for building an application for analyzing in various ways a fairly=\r
113  large number of emails accumulated over several years. I am afraid the num=\r
114 ber of headers that would ultimately need to be indexed is therefore quite =\r
115 a lot larger than what notmuch currently indexes.</div>\r
116 <div><br></div><div>=A0Petri</div><div><br><div class=3D"gmail_quote">2012/=\r
117 10/1 Austin Clements <span dir=3D"ltr">&lt;<a href=3D"mailto:amdragon@mit.e=\r
118 du" target=3D"_blank">amdragon@mit.edu</a>&gt;</span><br><blockquote class=\r
119 =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=\r
120 ing-left:1ex">\r
121 Quoth Petri Savolainen on Oct 01 at =A03:39 pm:<br>\r
122 <div><div class=3D"h5">&gt; =A0 =A0Hello,<br>\r
123 &gt; =A0 =A0I could not find information anywhere in notmuch docs about wha=\r
124 t is<br>\r
125 &gt; =A0 =A0actually indexed - specifically, what email headers are indexed=\r
126  and<br>\r
127 &gt; =A0 =A0searchable? If a header is not indexed, does searching for its =\r
128 value still<br>\r
129 &gt; =A0 =A0result in a search hit?<br>\r
130 &gt; =A0 =A0It would be nice if one could just provide the list of headers =\r
131 to be<br>\r
132 &gt; =A0 =A0indexed in some configuration file or something.<br>\r
133 &gt; =A0 =A0Thanks,<br>\r
134 &gt; =A0 =A0=A0Petri<br>\r
135 <br>\r
136 </div></div>notmuch doesn&#39;t currently implement this, though it is an<b=\r
137 r>\r
138 oft-requested feature. =A0One (not insurmountable) difficulty is that<br>\r
139 the database would have to be rebuilt if a user-configured list of<br>\r
140 headers changed and there are technical limitations that prevent us<br>\r
141 from simply indexing all headers. =A0Out of curiosity, what headers are<br>\r
142 you interested in indexing?<br>\r
143 <br>\r
144 The currently indexed headers are described in man<br>\r
145 notmuch-search-terms.<br>\r
146 </blockquote></div><br></div>\r
147 \r
148 --bcaec51ba61b8d606f04cb2bdca2--\r