diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-28 10:42:07 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-28 12:50:10 -0700 |
commit | f9bbd7baa07110c7f345c8413e2426d00382cb1c (patch) | |
tree | 4669ed380656bfd23b8203d4fa93601e8dd4e553 /database-private.h | |
parent | b04cc337388ea93cdd8a569a87f8bdc442f0cb33 (diff) |
Add full-text indexing using the GMime library for parsing.
This is based on the old notmuch-index-message.cc from early in
the history of notmuch, but considerably cleaned up now that
we have some experience with Xapian and know just what we want
to index, (rather than just blindly trying to index exactly
what sup does).
This does slow down notmuch_database_add_message a *lot*, but I've
got some ideas for getting some time back.
Diffstat (limited to 'database-private.h')
-rw-r--r-- | database-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database-private.h b/database-private.h index a5cca5a..76e26ce 100644 --- a/database-private.h +++ b/database-private.h @@ -29,6 +29,7 @@ struct _notmuch_database { char *path; Xapian::WritableDatabase *xapian_db; Xapian::QueryParser *query_parser; + Xapian::TermGenerator *term_gen; }; #endif |