Re: Query operators

Subject: Re: Query operators

Date: Mon, 29 Aug 2016 17:01:39 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Yuri D'Elia


On Mon, Aug 29 2016, David Bremner <david@tethera.net> wrote:
> Yuri D'Elia <wavexx@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.

Thread: