]> git.cworth.org Git - notmuch/commit
notmuch-index-message: Add code to actually create a Xapian index
authorCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2009 22:56:16 +0000 (15:56 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2009 22:59:57 +0000 (15:59 -0700)
commitf69215d41ff89998cac1ac0d7d13116d5aeb5276
tree0f0db2fba9aec12be667367066a8862c8c9138b3
parentc55c34f4a08829c2734168a912c0ad371b934d30
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.
notmuch-index-message.cc