Re: Search using email headers does not work

Subject: Re: Search using email headers does not work

Date: Wed, 13 Feb 2013 22:20:34 +0100

To: notmuch@notmuchmail.org

Cc:

From: Alexey Feldgendler


On Wed, 13 Feb 2013 22:09:22 +0100, Jameson Graef Rollins  
<jrollins@finestructure.net> wrote:

>> I think I mentioned this on irc sometime ago: would indexing all the
>> headers as a separate free text entry (under headers: for example)
>> satisfy most of this. So then you could search for things like
>> headers:"List-Id: blah" or similar.
>>
>> It is not as nice as individually indexed headers, but it does mean that
>> all notmuch instances would be the same and the same commands would
>> work, the library interface would be consistent etc.

> I like this idea.  Simple to implement, and covers all needs
> automatically.

It will work for some headers, but not for others. Where a header's value  
is a list, there will be no precise way of specifying “the list contains  
X”. NEAR is only an approximation.


-- 
Alexey Feldgendler <alexey@feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com

Thread: