[PATCH RFC] index: add body: search query term
William Casarin
jb55 at jb55.com
Wed Oct 10 09:36:41 PDT 2018
William Casarin <jb55 at 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
More information about the notmuch
mailing list