unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Austin Clements <amdragon@MIT.EDU>
To: Petri Savolainen <petri@koodaamo.fi>
Cc: notmuch@notmuchmail.org
Subject: Re: How to index arbitrary headers?
Date: Mon, 1 Oct 2012 11:43:09 -0400	[thread overview]
Message-ID: <20121001154309.GE26662@mit.edu> (raw)
In-Reply-To: <CACXwgK9bmyqUMmw9LNhqc7o86_LXx8agQByusBiQt_wRbQ8O=w@mail.gmail.com>

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.

  reply	other threads:[~2012-10-01 15:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 12:39 How to index arbitrary headers? Petri Savolainen
2012-10-01 15:43 ` Austin Clements [this message]
2012-10-03 18:32   ` Petri Savolainen
2012-10-04  8:17     ` Dmitrijs Ledkovs
2012-10-04 12:51   ` Nicolás Reynolds
2012-10-04 16:25     ` Dmitrijs Ledkovs
2012-10-04 18:18       ` Nicolás Reynolds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121001154309.GE26662@mit.edu \
    --to=amdragon@mit.edu \
    --cc=notmuch@notmuchmail.org \
    --cc=petri@koodaamo.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).