]> git.cworth.org Git - notmuch/commit
notmuch dump: Fix the sorting of results.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 07:35:56 +0000 (00:35 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 07:35:56 +0000 (00:35 -0700)
commit65baa4f4e7fc401e5af742b491a3bc0784f2cdf7
tree97bfd13076c076431f779d7296f96b1df71e49f8
parent6a3b68edeffa53c3e1c9aa156eff46c5999077c5
notmuch dump: Fix the sorting of results.

To properly support sorting in notmuch_query we know use an
Enquire object. We also throw in a QueryParser too, so we're
really close to being able to support arbitrary full-text
searches.

I took a look at the supported QueryParser syntax and chose
a set of flags for everything I like, (such as supporting
Boolean operators in either case ("AND" or "and"), supporting
phrase searching, supporting + and - to include/preclude terms,
and supporting a trailing * on any term as a wildcard).
database-private.h
database.cc
notmuch-private.h
query.cc