[email protected] (Jorge P. de Morais Neto) writes:
> Hi. The NOTMUCH-SEARCH-TERMS man page says:
>
> Each term in the query will be implicitly connected by a logical AND
> if no explicit operator is provided (except that terms with a common
> prefix will be implicitly combined with OR).
>
> However, in practice I get different results:
> $ notmuch count '(to:pontodosconcursos.com.br OR
> to:[email protected])'
> 66
> $ notmuch count '(to:pontodosconcursos.com.br
> to:[email protected])'
> 0
>
Thanks for the report. As a test, can you try with
$ notmuch count '(to:pontodosconcursos.com.br
to:"[email protected]")'
I suspect that will work around the problem, which I believe is related
to the way that notmuch uses the xapian parser (in order to provide
regexp matching for some prefixes). In particular, if I try that with
NOTMUCH_DEBUG_QUERY=yes in the environment I can see the implicit OR.
d
_______________________________________________
notmuch mailing list
[email protected]
https://notmuchmail.org/mailman/listinfo/notmuch