jorge+l...@disroot.org (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:jorge+cp+concu...@disroot.org)' > 66 > $ notmuch count '(to:pontodosconcursos.com.br > to:jorge+cp+concu...@disroot.org)' > 0 >
Thanks for the report. As a test, can you try with $ notmuch count '(to:pontodosconcursos.com.br to:"jorge+cp+concu...@disroot.org")' 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 notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch