summaryrefslogtreecommitdiff
path: root/lib/mu-query-parser.cc
AgeCommit message (Collapse)Author
2026-03-07lib: improve error checkingDirk-Jan C. Binnema
2026-02-14mu-query-parser: update commentDirk-Jan C. Binnema
2023-09-21query-parser: handle naked NOT, add testsDirk-Jan C. Binnema
We weren't correctly expanding "naked NOT" -> AND_NOT Fixes #2559.
2023-09-19query-parser: 'not' should take unitsDirk-Jan C. Binnema
NOT should bind more tightly.
2023-09-17query: move phrasification to mu-query-parserDirk-Jan C. Binnema
Do the "phrasification" for matching fields later during query parsing; this allows for handling combination fields correctly. Also match both the normal term and the "phrase term", so we catch more cases. Update/extend unit tests. This fixes the "kata-container" issue also for body test. Fixes #2167.
2023-09-09lib: implement new query parserDirk-Jan C. Binnema
Implement a new query parser; the results should be very similar to the old one, but it adds an Sexp middle-representation, so users can see how a query is interpreted.