Search using email headers does not work
Jameson Graef Rollins
jrollins at finestructure.net
Tue Feb 12 09:03:01 PST 2013
On Tue, Feb 12 2013, David Bremner <david at tethera.net> wrote:
> Unfortunately currently headers other than those references in the
> notmuch-search-terms man page are not indexed. The only workaround I
> can think of without patching notmuch is to use some tool to tag the
> messages you care about.
I think even more importantly headers other than those that are parsed
are actually thrown to /dev/null. They are not even indexed as plain
text, so you can search for terms in headers as you can for words in the
body.
I asked this on irc but it got lost in the shuffle: would it make sense
to index the entire header block as plain text? If we did that then at
least the search that Michal was trying would return the expected
results. It would also be a fairly simple change to the indexer. I
don't have a good sense of how much it would pollute the index, though.
Given how frequently people are asking for alternate header indexing, it
might be something to consider.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130212/945071b0/attachment.pgp>
More information about the notmuch
mailing list