From: Carl Worth Date: Wed, 21 Oct 2009 07:35:56 +0000 (-0700) Subject: notmuch dump: Fix the sorting of results. X-Git-Tag: 0.1~799 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=65baa4f4e7fc401e5af742b491a3bc0784f2cdf7;hp=65baa4f4e7fc401e5af742b491a3bc0784f2cdf7 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). ---