Schema Patch to get Dovecot running with Solr 4.10.3

Christian Felsing pug at felsing.net
Wed Jan 7 06:44:39 UTC 2015


Hello,

AFAIK a known problem with newer Apache Solr versions. If you patch Dovecots
solr-schema.xml Dovecot will work with Solr 4.10.3:


--- solr-schema.xml	2015-01-05 09:12:51.080196122 +0100
+++ /home/solr/solr/example/solr/collection1/conf/schema.xml	2015-01-05
09:31:48.320206660 +0100
@@ -51,6 +51,7 @@
    <field name="cc" type="text" indexed="true" stored="false" />
    <field name="bcc" type="text" indexed="true" stored="false" />
    <field name="subject" type="text" indexed="true" stored="false" />
+   <field name="text" type="text" indexed="true" stored="false" />

    <!-- Used by Solr internally: -->
    <field name="_version_" type="long" indexed="true" stored="true"/>



This patch was created regarding Dovecot 2.2.15, for Dovecot configuration
please follow instructions at http://wiki2.dovecot.org/Plugins/FTS/Solr

Christian


More information about the dovecot mailing list