From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B0C06431FBF for ; Mon, 1 Oct 2012 08:43:13 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 M9gyORWJCnzY for ; Mon, 1 Oct 2012 08:43:13 -0700 (PDT) Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU [18.9.25.14]) by olra.theworths.org (Postfix) with ESMTP id 31F2F431FAE for ; Mon, 1 Oct 2012 08:43:13 -0700 (PDT) X-AuditID: 1209190e-b7f756d000000904-6b-5069ba10a9b5 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 90.27.02308.01AB9605; Mon, 1 Oct 2012 11:43:12 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q91FhBQd006028; Mon, 1 Oct 2012 11:43:12 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q91Fh94X014695 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 1 Oct 2012 11:43:11 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1TIi9F-0004yo-KA; Mon, 01 Oct 2012 11:43:09 -0400 Date: Mon, 1 Oct 2012 11:43:09 -0400 From: Austin Clements To: Petri Savolainen Subject: Re: How to index arbitrary headers? Message-ID: <20121001154309.GE26662@mit.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJKsWRmVeSWpSXmKPExsUixG6noiuwKzPA4M9nTYvrN2cyW1xcx+TA 5LHrTrzHs1W3mAOYorhsUlJzMstSi/TtErgyupoMCmawVxzpus/WwHiJtYuRk0NCwETi1/SP jBC2mMSFe+vZuhi5OIQE9jFKzF70kxHCWc8o0bG5B8o5wSTR19wI5SxhlGhcu4cZpJ9FQEVi 76ZXYDabgIbEtv3LweaKANktP3uYQGxmAWmJb7+bwWxhAR2Jb39PgdXwAtkHVh0AiwsJBEic vvOIDSIuKHFy5hMWiF4diZ1b7wDFOcDmLP/HARGWl2jeOhtsLadAoET/0y9gtijQOVNObmOb wCg8C8mkWUgmzUKYNAvJpAWMLKsYZVNyq3RzEzNzilOTdYuTE/PyUot0jfVyM0v0UlNKNzGC YoBTkm8H49eDSocYBTgYlXh4F1zOCBBiTSwrrsw9xCjJwaQkyvt2W2aAEF9SfkplRmJxRnxR aU5q8SFGCQ5mJRFe+xygHG9KYmVValE+TEqag0VJnPdKyk1/IYH0xJLU7NTUgtQimKwMB4eS BO+VHUCNgkWp6akVaZk5JQhpJg5OkOE8QMOPgdTwFhck5hZnpkPkTzEqSonzzgJJCIAkMkrz 4HphKeoVozjQK8K8W0CqeIDpDa77FdBgJqDBVavSQAaXJCKkpBoYPZU+te1cEFLQH5DolfNH UtTGsW4in8a97/9sdi+q9+n+unaJzKo0T4e3NQ9UD6Ylh9efWDKF89EFcxZRhtsXY+4FZq+5 fDMpZ1Oep5Lr5ygH96tcxxiV8gySOYuWXQwwn5Jz6ufmbY6tE2PmcuY97pyWfLc9ZEkQ59t4 /oa9Z38trTxzb8pVJZbijERDLeai4kQAQxGFEiwDAAA= Cc: notmuch@notmuchmail.org 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: Mon, 01 Oct 2012 15:43:13 -0000 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, >  Petri 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.