Query operators

Yuri D'Elia wavexx at thregr.org
Mon Aug 29 08:01:39 PDT 2016


On Mon, Aug 29 2016, David Bremner <david at tethera.net> wrote:
> 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.

What's your POV on this? Is it expected/useful in some scenario?

I'd expect all terms to follow the same rules for consistency.


More information about the notmuch mailing list