Re: regex search in the body

Subject: Re: regex search in the body

Date: Thu, 20 Mar 2025 06:58:21 -0300

To: Peter Münster, notmuch@notmuchmail.org

Cc:

From: David Bremner


Peter Münster <pm@a16n.net> writes:

> On Wed, Mar 19 2025, Peter Münster wrote:
>
>> If not, what could I do, to make it happen please?
>
> I could offer a bounty!  Is there a tracker somewhere for feature
> requests?

The mailing list is the place for feature requests.

> (Alternatively I could use mu, but it’s quite annoying because of
> missing support for encrypted messages...)

I don't know anything about the mu implementation of regex search, maybe
they have some clever idea I haven't thought of. In notmuch regex
searches are based on (essentially a brute force scan of) Xapian "value
slots". Currently the body is not such a value slot. I suspect, but
don't know for sure that adding the body as a value slot would cause
noticable bloat in the database size (and hence performance
degradation).  If someone wants to do experiments, I am happy to provide
guidance. I probably won't have time to do those experiments myself.

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

Thread: