Re: [PATCH RFC] index: add body: search query term

Subject: Re: [PATCH RFC] index: add body: search query term

Date: Wed, 10 Oct 2018 09:36:41 -0700

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: William Casarin


William Casarin <jb55@jb55.com> writes:

> I wonder if it's all worth the effort though, since a workaround could
> be:
>
>     notmuch search <query> and not subject:<query>
>
> If it's too annoying to have a body prefix, due to index bloat or
> performance issues, would doing something hacky such as translating
> 'body:<query>' to '<query> and not subject:<query>' make sense?

Thinking about this some more, this is not exactly the same, since this
would explicitly exclude subjects, whereas the body query wouldn't care
what the subject was.

-- 
https://jb55.com
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: