summaryrefslogtreecommitdiff
path: root/lib/mu-query.hh
AgeCommit message (Collapse)Author
2024-05-08mu-query: minor cleanupsDirk-Jan C. Binnema
2023-09-12mu-query: remove unnused move ctorDirk-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.
2022-04-30query: update query subsys to use MessageDirk-Jan C. Binnema
2022-03-28lib+guile: use Mu::Option, not std::optionalDirk-Jan C. Binnema
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-26many: update for lib/message updatesDirk-Jan C. Binnema
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-04lib/query,parser: update to use mu-message-fieldsDirk-Jan C. Binnema
2022-01-30store/query: access query only through storeDirk-Jan C. Binnema
Make Mu::Query only accessible through store, so we can lock the db for the duration of a (full, multipass) query.
2021-10-20clang-format: update c/cc coding styleDirk-Jan C. Binnema
Update all cc code using .clang-format; please do so as well for future PRs etc.; emacs has a handy 'clang-format' mode to make this automatic. For comparing old changes with git blame, we can disregard this one using --ignore-rev (see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-06-17query-results: remove GatherThreadIdsDirk-Jan C. Binnema
We can't really do that in the match-decider, since we get _all_ messages there, not the <n>-limited. And some whitespace changes.
2021-02-13mu-query: tweaks threaded/threaded queryingDirk-Jan C. Binnema
2021-01-20query: Rework querying/threading machineryDirk-Jan C. Binnema
Rewrite the query machinery in c++: - use an MSet decorator instead of the mu-msg-iter stuff - use mu-query-decider to mark duplicates/unreadable/related messages - use mu-query-threader to replace the older container/thread code Algorithm did not substantially change, but the implementation details did.
2020-11-04lib/query: refactor & reworkDirk-Jan C. Binnema
- Move the lib/query/ stuff up a level into lib/ - Associate directly with the Query object - Rework the Query object to be C++ rather than mixed with C - Update all dependencies, tests