unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Indexing and searching for a particular header
@ 2022-01-10 10:26 Tohiko Looka
  2022-01-10 11:55 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Tohiko Looka @ 2022-01-10 10:26 UTC (permalink / raw)
  To: notmuch

This is a question or a feature request.

Is there a way to make notmuch add a particular header to the content
of an email, in terms of indexing it and being able to search for text
in that header?
The use case I want to use it for is a header ("X-Note") that I use to
attach a note to an email so that I can search for it later. These
notes and too specific and cannot be easily summed up by keywords.

Thank you,
Tohiko

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Indexing and searching for a particular header
  2022-01-10 10:26 Indexing and searching for a particular header Tohiko Looka
@ 2022-01-10 11:55 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2022-01-10 11:55 UTC (permalink / raw)
  To: Tohiko Looka, notmuch

Tohiko Looka <toh.looka@gmail.com> writes:

> This is a question or a feature request.
>
> Is there a way to make notmuch add a particular header to the content
> of an email, in terms of indexing it and being able to search for text
> in that header?
> The use case I want to use it for is a header ("X-Note") that I use to
> attach a note to an email so that I can search for it later. These
> notes and too specific and cannot be easily summed up by keywords.

Yes, see index.header in notmuch-config(1)

d

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-10 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 10:26 Indexing and searching for a particular header Tohiko Looka
2022-01-10 11:55 ` David Bremner

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).