From: Carl Worth Date: Tue, 13 Oct 2009 22:56:16 +0000 (-0700) Subject: notmuch-index-message: Add code to actually create a Xapian index X-Git-Tag: 0.1~887 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=f69215d41ff89998cac1ac0d7d13116d5aeb5276;hp=f69215d41ff89998cac1ac0d7d13116d5aeb5276;p=notmuch notmuch-index-message: Add code to actually create a Xapian index Most of this code is fairly clean and works well. One part is fairly painful---namely extracting the body of an email message from libgmime. Currently, I'm just extracting the offset to the end of the headers, and then separately opening the message. Surely there's a better way. Anyway, with that the results are looking very similar to sup-sync now, (as verified by xapian-dump). The only substantial difference I'm seeing now is that sup does not seem to index quoted portions of messages nor signatures. I'm not actually sure whether I want to follow sup's lead in that or not. ---