Re: should filter out replies when indexing

Subject: Re: should filter out replies when indexing

Date: Mon, 10 Mar 2025 11:42:48 -0600

To: Carl Worth, Martin Monperrus, notmuch@notmuchmail.org

Cc:

From: Jonathan Corbet


Carl Worth <cworth@cworth.org> writes:

> What is missing is a way to be able to indicate that you want to search
> for content that is in a message but not part of the quoted content.
>
> What notmuch could do to support a feature like that is to index all
> quoted content with a different term prefix than it does unquoted
> content. Then, by default search could be made to match on both
> terms. And new search syntax could be added to search specifically for
> unquoted content.
>
> Definitely not a small change, but if someone is really motivated by
> wanting the feature, that should be possible at least.

Just FWIW, public-inbox has that feature; there are definitely times
when it is nice to have.  Searching on q:string finds it only in quoted
text, while nq:string restricts to non-quoted text.

But I agree that notmuch needs to index (and search on) all content when
not instructed otherwise.

jon
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: