Re: Search using email headers does not work

Subject: Re: Search using email headers does not work

Date: Fri, 15 Feb 2013 10:27:30 +0200

To: David Bremner, Carl Worth, Michal Vyskocil, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Tue, Feb 12 2013, David Bremner <david@tethera.net> wrote:

> Carl Worth <cworth@cworth.org> writes:
>>
>> It's embarrassing to me that I added this note to the notmuch TODO file
>> in October 2009 (and it's still there):
>>
>>     Add support for the user to specify custom headers to be indexed.
>
> One techicality is that we would presumeably want to support this both
> for access via the CLI and via libnotmuch (e.g. for the python
> bindings).  So there is the question of where to store the list of
> indexed headers; perhaps in Xapian metadata. Or is there some simpler
> solution?

BTW: how does clients using libnotmuch instead of CLI find the location
of mail store and Xapian database if those don't read the configuration
file used by CLI (and reference database.path there) ? :D

As the location of xapian database is known the location of mail store
and '.notmuch' directory is also known -- the '.notmuch' directory could
also contain some other dynamic information having accessor functions
in libnotmuch... (?)

Tomi

Thread: