Schema Patch to get Dovecot running with Solr 4.10.3

Alessio Cecchi alessio at skye.it
Wed Jan 7 09:49:44 UTC 2015


Il 07/01/2015 07:44, Christian Felsing ha scritto:
> 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
Hi,

for Dovecot 2.2.15 and Solr 4.10 I'm using this schema:

https://raw.githubusercontent.com/extremeshok/solr-dovecot2/master/schema.xml


More information about the dovecot mailing list