From: Todd Date: Thu, 22 Jan 2015 23:43:38 +0000 (-0600) Subject: Add indexing for the mimetype term X-Git-Tag: 0.20~80 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=b04bc967f9837e9d451ef88c276c744aa55accaa;hp=b04bc967f9837e9d451ef88c276c744aa55accaa;p=notmuch Add indexing for the mimetype term This adds the indexing support for the "mimetype:" term and removes the broken test flag. The indexing is probablistic in Xapian terms, which gives a better experience to end users. Standard content-types of the form "foo/bar" are automatically interpreted as phrases in Xapian due to the embedded slash. Assume, separate messages with application/pdf and application/x-pdf are indexed, then: - mimetype:application/x-pdf will find only the application/x-pdf - mimetype:application/pdf will find only the application/pdf - mimetype:pdf will find both of the messages ---