History log of /dovecot/src/plugins/fts/fts-build-private.h
Revision Date Author Comments Expand
421d30619384e72a27e2a5d13ff6525aff4d17fe 31-Aug-2011 Timo Sirainen <tss@iki.fi>

Redesigned mail precaching APIs. There's no longer a one monolithic mailbox_sync(MAILBOX_SYNC_FLAG_PRECACHE) call, but rather one mail_precache() call for each mail to be precached. This allows the callers to show the progress and in general is cleaner.

/dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/indexer/master-connection.c /dovecot/src/lib-storage/index/cydir/cydir-mail.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-mail.c /dovecot/src/lib-storage/index/dbox-single/sdbox-mail.c /dovecot/src/lib-storage/index/imapc/imapc-mail.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/raw/raw-mail.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail.c /dovecot/src/lib-storage/test-mail.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c Makefile.am fts-api-private.h fts-build-mail.c fts-build-mail.h fts-build-mailbox.c fts-build-private.h fts-build-virtual.c fts-build.h fts-indexer.c fts-indexer.h fts-storage.c fts-storage.h /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.c
73bc0de052ae7a08c00bd484b1fc6c2c548d42ee 09-Aug-2011 Timo Sirainen <tss@iki.fi>

fts: Log how many messages were indexed.

772120713c176bde8c932b3fb4c413d223741fcd 27-Jul-2011 Timo Sirainen <tss@iki.fi>

fts: Strip text/html mails to plaintext before sending them to FTS backend.

0fbea4dd37f44d2fcfcd4a36a36a6e545696f0e6 26-Jul-2011 Timo Sirainen <tss@iki.fi>

fts: Convert input text to decomposed titlecase only for Squat backend. Lucene and Solr can handle case-insensitivity internally.

8d587838c414c48a331f0b54cd7ffd97e5024abd 22-Jul-2011 Timo Sirainen <tss@iki.fi>

fts: Redesigned/enhanced FTS API and how virtual plugin works with it. The changes include: - Only indexer process and "doveadm index" do FTS indexing now. Other processes connect to the indexer process via UNIX socket and request indexing a specific mailbox. - FTS backends can now index/search any search key. Current backends implement indexing for some specific header fields (Subject, From, To, Cc, Bcc), but it would also be possible to add indexing for e.g. message size or date. - CLucene support is fixed and fully functional. - Solr is split to "solr" and "solr_old" backends. The new "solr" backend supports the new header fields. It also uses mailbox GUIDs as mailbox identifiers, so that renaming a mailbox doesn't require reindexing. The "solr_old" uses the old Solr schema and doesn't support any new features.

/dovecot/configure.in /dovecot/doc/solr-schema.xml /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-solr/Makefile.am /dovecot/src/plugins/fts-solr/fts-backend-solr-old.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.h /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-solr/solr-connection.h /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts-squat/squat-test.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-trie.h Makefile.am fts-api-private.h fts-api.c fts-api.h fts-build-indexer.c fts-build-mailbox.c fts-build-private.h fts-build-virtual.c fts-build.c fts-build.h fts-mailbox.c fts-mailbox.h fts-plugin.c fts-plugin.h fts-search-serialize.c fts-search-serialize.h fts-search.c fts-storage.c fts-storage.h /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h