Re: Query operators

Subject: Re: Query operators

Date: Mon, 29 Aug 2016 10:33:58 -0300

To: Yuri D'Elia, notmuch@notmuchmail.org

Cc:

From: David Bremner


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.

d

Thread: