History log of /dovecot/src/plugins/fts-solr/fts-solr-plugin.h
Revision Date Author Comments Expand
bae41e95e936777e71ea5c74eed03e6630dd8e67 24-Jan-2018 Aki Tuomi <aki.tuomi@dovecot.fi>

fts-solr: Add and use FTS_SOLR_USER_CONTEXT_REQUIRE Satisfies static analyzers

1e60d516e91238b41c951009729f5703eca49211 24-Apr-2015 Timo Sirainen <tss@iki.fi>

fts-solr: fts_solr=use_libfts send data to Solr via space-separated tokens. In this case Solr should be configured to not do any kind of filtering and use only WhitespaceTokenizerFactory.

c215ca02d468b0e542523df1ed18e5f2d7e63968 26-Oct-2013 Timo Sirainen <tss@iki.fi>

fts-solr: Fixed support for multiple Solr hosts when same process handles multiple users. E.g. indexer-worker was always using only the first user's Solr host.

683d9f20766cd13e72f7d16ce1e341a8811b2679 02-Feb-2013 Timo Sirainen <tss@iki.fi>

fts-solr: Deinit solr connection at plugin unload.

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 Makefile.am fts-backend-solr-old.c fts-backend-solr.c fts-solr-plugin.c fts-solr-plugin.h solr-connection.c 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 /dovecot/src/plugins/fts/Makefile.am /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-api.h /dovecot/src/plugins/fts/fts-build-indexer.c /dovecot/src/plugins/fts/fts-build-mailbox.c /dovecot/src/plugins/fts/fts-build-private.h /dovecot/src/plugins/fts/fts-build-virtual.c /dovecot/src/plugins/fts/fts-build.c /dovecot/src/plugins/fts/fts-build.h /dovecot/src/plugins/fts/fts-mailbox.c /dovecot/src/plugins/fts/fts-mailbox.h /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-search-serialize.c /dovecot/src/plugins/fts/fts-search-serialize.h /dovecot/src/plugins/fts/fts-search.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h
de11cf486e0d0448537b1b5d546496ab85e7cda8 27-Jun-2011 Timo Sirainen <tss@iki.fi>

fts: Replaced unnecessary lock()/unlock() from API with refresh()

5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 04-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Plugin hook API changed to support per-user plugins within a process. --HG-- branch : HEAD

/dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/list/index-mailbox-list-sync.c /dovecot/src/lib-storage/list/index-mailbox-list.c /dovecot/src/lib-storage/mail-namespace.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mail-user.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/autocreate/autocreate-plugin.h /dovecot/src/plugins/convert/convert-plugin.c /dovecot/src/plugins/convert/convert-plugin.h /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-plugin.h /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h fts-solr-plugin.c fts-solr-plugin.h /dovecot/src/plugins/fts-squat/fts-squat-plugin.c /dovecot/src/plugins/fts-squat/fts-squat-plugin.h /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.h /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.h /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.h /dovecot/src/plugins/notify/notify-plugin-private.h /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/trash/trash-plugin.h /dovecot/src/plugins/virtual/virtual-plugin.c /dovecot/src/plugins/virtual/virtual-plugin.h /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/plugins/zlib/zlib-plugin.h
23fdad6c7e2581921f511e24cd9371c9eaebcef9 09-Oct-2009 Timo Sirainen <tss@iki.fi>

plugins: Added dependencies. The dependencies can only be checked if the dlopen() can successfully open the module, so use (apparently) non-portable ltlibrary linking to force the libraries we depend on to load with us. --HG-- branch : HEAD

0df9428baed48afaff90b4d4f03792d2fd756a43 02-Feb-2009 Timo Sirainen <tss@iki.fi>

Fixed plugins to work with config rewrite. --HG-- branch : HEAD

/dovecot/TODO /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mail-user.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/master/mail-process.c /dovecot/src/master/master-settings.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-lookup-dict.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/convert/convert-plugin.c /dovecot/src/plugins/convert/convert-settings.c /dovecot/src/plugins/convert/convert-settings.h /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/convert/convert-storage.h /dovecot/src/plugins/convert/convert-tool.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-settings.c /dovecot/src/plugins/expire/expire-settings.h /dovecot/src/plugins/expire/expire-tool.c fts-backend-solr.c fts-solr-plugin.c fts-solr-plugin.h /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/Makefile.am /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/quota/quota.h /dovecot/src/plugins/trash/trash-plugin.c
b8835b8a21c617ceb82ddc5a176243faf36aa8f7 30-Nov-2008 Timo Sirainen <tss@iki.fi>

fts: Added support for handling multiple namespaces. --HG-- branch : HEAD

53ec1ff2231d477db3103c51987fa9cb6033bc16 13-Jul-2008 Timo Sirainen <tss@iki.fi>

fts-solr: Added break-imap-search setting to use Solr with SEARCH TEXT/BODY parameters. This makes the SEARCH non-compliant with standard IMAP protocol, because TEXT/BODY require support for substring searches and Lucene doesn't support them. --HG-- branch : HEAD

48566ca412a7cf3b42512fd0ec112744778e5da0 10-Jul-2008 Timo Sirainen <tss@iki.fi>

Initial code to support Apache Solr (Lucene indexing server). --HG-- branch : HEAD