Opened 39 hours ago

#849 new defect

Pure HATE

Reported by: Olly Betts Owned by: Olly Betts
Priority: normal Milestone: 2.0.x
Component: QueryParser Version: 1.4.30
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

We ignore the - in this example, which is surprising:

thread:0000000000003cf0 AND ( -from:mailer-daemon )

The essential problem is that a subquery in parentheses is parsed like a top-level query and we don't allow "pure HATE".

This perhaps could be fixed by parsing this in a different way, but we could also just support "pure HATE" (like we do with for NOT when FLAG_PURE_NOT is specified).

(Noted by Ackerley Tng on the notmuch list.)

Change History (0)

Note: See TracTickets for help on using tickets.