]> git.notmuchmail.org Git - notmuch/commit
Ignore encrypted parts when indexing.
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 28 Dec 2011 20:14:29 +0000 (12:14 -0800)
committerDavid Bremner <bremner@debian.org>
Thu, 29 Dec 2011 21:44:43 +0000 (17:44 -0400)
commitac7f84306474dbecea8f6fee2ef2e8d71cc950f7
treeab08e110f2af395a888f950f52c366dbaa098799
parentbed6022ed1076803d89260762dd4d90e639f2756
Ignore encrypted parts when indexing.

It appears to be an oversight that encrypted parts were indexed
previously.  The terms generated from encrypted parts are meaningless
and do nothing but add bloat to the database.  It is not worth
indexing the encrypted content, just as it's not worth indexing the
signatures in signed parts.
lib/index.cc