From: Nicolás Reynolds Date: Thu, 4 Oct 2012 12:51:36 +0000 (+2100) Subject: Re: How to index arbitrary headers? X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=af19e1fda98f15044d3e644299b2d793437a7acd;p=notmuch-archives.git Re: How to index arbitrary headers? --- diff --git a/c3/7d4db56a4879e69e7c47e4e10b73865e6f4b23 b/c3/7d4db56a4879e69e7c47e4e10b73865e6f4b23 new file mode 100644 index 000000000..d63055b8a --- /dev/null +++ b/c3/7d4db56a4879e69e7c47e4e10b73865e6f4b23 @@ -0,0 +1,97 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 016FD431FB6 + for ; Thu, 4 Oct 2012 05:51:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id VorBj83slwfZ for ; + Thu, 4 Oct 2012 05:51:55 -0700 (PDT) +Received: from rshg051.localdomain (rshg051.dnsready.net [174.142.147.194]) + by olra.theworths.org (Postfix) with ESMTP id 52F2A431FAE + for ; Thu, 4 Oct 2012 05:51:55 -0700 (PDT) +Received: from kiwwwi.com.ar (repo.parabolagnulinux.org [80.87.131.252]) + by rshg051.localdomain (Postfix) with ESMTPSA id B83C2351880C + for ; Thu, 4 Oct 2012 09:51:43 -0300 (ART) +From: =?utf-8?Q?Nicol=C3=A1s?= Reynolds +To: notmuch@notmuchmail.org +Subject: Re: How to index arbitrary headers? +In-Reply-To: <20121001154309.GE26662@mit.edu> +References: + + <20121001154309.GE26662@mit.edu> +User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1 + (i686-pc-linux-gnu) +Mail-Followup-To: notmuch@notmuchmail.org +Date: Thu, 04 Oct 2012 09:51:36 -0300 +Message-ID: <87vceqh02v.fsf@kiwwwi.com.ar> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 04 Oct 2012 12:51:57 -0000 + +--=-=-= +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +Austin Clements writes: + +> Quoth Petri Savolainen on Oct 01 at 3:39 pm: +>> Hello, +>> I could not find information anywhere in notmuch docs about what is +>> actually indexed - specifically, what email headers are indexed and +>> searchable? If a header is not indexed, does searching for its value = +still +>> result in a search hit? +>> It would be nice if one could just provide the list of headers to be +>> indexed in some configuration file or something. +>> Thanks, +>> =C2=A0Petri +> +> notmuch doesn't currently implement this, though it is an +> oft-requested feature. One (not insurmountable) difficulty is that +> the database would have to be rebuilt if a user-configured list of +> headers changed and there are technical limitations that prevent us +> from simply indexing all headers. Out of curiosity, what headers are +> you interested in indexing? +> +> The currently indexed headers are described in man +> notmuch-search-terms. + +maybe related: is it possible to index only the headers and not the mail +body? + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQbYZYAAoJEEVgMtcXpM2c7tQH/3LvZeEz61KDq29cBdDsX4fO +6Cl4ilYIO9mw+xtEZBz2E8ZFx63y0mfUsJzJKOviR3UvDUgMsedSg+b2wyjipEzn +zFplx3V1/p5H1VXSFapqoDS8okWWStnWGhhFfwqN+ppVOz3+jRTILNI7XJAzJuj4 +hsAqb2muLfB0qxCkEodRYEsNeh9TL3VKYEnYq2hrA0oW0MaxXiZtK1f7mliHcXbX +PTS19BcJLwN/yxPjfGyieDkrJELJNPrMbH42p36D+rVXBTX2Njqped4uVduz+qZr +y093ZEQax0pwr9/EvIj0Ng02OhXuIPSLJSM1aZUkarZPnnneexfUUNyQxa3F9cM= +=H1Xf +-----END PGP SIGNATURE----- +--=-=-=--