Re: should filter out replies when indexing

Subject: Re: should filter out replies when indexing

Date: Tue, 11 Mar 2025 07:19:18 -0300

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

Cc:

From: David Bremner


Jonathan Corbet <corbet@lwn.net> writes:

>
> 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.
>

As a few people have remarked, there is not any well defined standard
for quotes. Recently I learned of yet another approach, as discourse
uses it's own block structured markup to indicate quotes. The indexing
layer is relatively hard to change: we have to think about
e.g. upgrading databases, and it requires programming in C and/or
C++. If we were to add some feature like this, I would be more
enthusiastic if it let users configure in some way what counted as
quotes. That _might_ get easier if/when Xapian integrates an enhanced
"external filter" capability.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: