summaryrefslogtreecommitdiff
path: root/lib/mu-query-xapianizer.cc
AgeCommit message (Collapse)Author
2025-05-26lib: improve xapianizer / xapian_termDirk-Jan C. Binnema
2023-10-14wip: xapianizer unit testsDirk-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-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-13lib: unit tests: improve / better coverageDirk-Jan C. Binnema
2023-09-12unit tests: improveDirk-Jan C. Binnema
and add a new one for the indexer
2023-09-11query-xapianizer: map empty range queries to match-nothingDirk-Jan C. Binnema
And only run Xapian tests if they are compatible with the version we have.
2023-09-11query-xapianizer: improve testing coverageDirk-Jan C. Binnema
2023-09-09support xapian ngramsDirk-Jan C. Binnema
Xapian supports an "ngrams" option to help with languages/scripts without explicit wordbreaks, such as Chinese / Japanese / Korean. Add some plumbing for supporting this in mu as well. Experimental for now.
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.