Overview
Full-text search allows all messages to be indexed, so that mail clients can quickly and efficiently search messages by their full text content.
The dovecot-solr Plugin is used in conjunction with Apache Solr running in a separate container. This is quite straightforward to setup using the following instructions.
Setup Steps
- docker-compose.yml:
etc/dovecot/conf.d/10-plugin.conf:
-
Start the solr container: docker-compose up -d --remove-orphans solr
-
Restart the mailserver container: docker-compose restart mailserver
-
Flag all user mailbox FTS indexes as invalid, so they are rescanned on demand when they are next searched
Further discussion
See issue #905