Query operators

David Bremner david at tethera.net
Mon Aug 29 06:33:58 PDT 2016


Yuri D'Elia <wavexx at thregr.org> writes:

> term1 AND (tag:term2 OR tag:term3)
>
> am I right? Is this a feature of the xapian query syntax? (can it be
> tweaked to _unconditionally_ AND all terms?)

This is most likely a feature of the "grouping" parameter in
QueryParser::add_boolean_prefix. It _might_ be the case that passing an
empty string (in lib/database.cc) will improve this behaviour from your
point of view.

d


More information about the notmuch mailing list