Deprecations for schema.xml and newest Solr version (7.2.x)
TG Servers
srvrs at prvtmail.net
Mon Mar 5 14:12:53 EET 2018
What came to my mind : are there any changes needed on the dovecot side?
Esp. because there is also a field type change in it....
Am 4. März 2018 18:26:06 schrieb TG Servers <srvrs at prvtmail.net>:
> Hi,
>
> the schema.xml example provided for dovecot in
> /usr/share/doc/dovecot-<verison> does not work anymore with the newest
> Solr Version (as I know of 7.2.x) because some field classes and filter
> classes are deprecated in this version.
>
> The changes (according to the Solr documentation) would have to be :
>
> In the index analyzer :
>
> <fieldType name="long" class="solr.TrieLongField" />
>
> into
>
> <fieldType name="long" class="solr.LongPointField" />
> .........
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="0" splitOnCaseChange="1"/>
>
> into
>
> <filter class="solr.WordDelimiterGraphFilterFactory"
> generateWordParts="1" generateNumberParts="1" catenateWords="1"
> catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
>
> and because this is used in the index analyzer it has to be followed by
>
> <filter class="solr.FlattenGraphFilterFactory"/>
> ..............
>
> In the query analyzer :
> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
> ignoreCase="true" expand="true"/>
>
> into
>
> <filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt"
> ignoreCase="true" expand="true"/>
> ...............
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="0" catenateNumbers="0"
> catenateAll="0" splitOnCaseChange="1"/>
>
> into
>
> <filter class="solr.WordDelimiterGraphFilterFactory"
> generateWordParts="1" generateNumberParts="1" catenateWords="0"
> catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
> .........
>
> Don't know if you want to mention this somewhere in your docs.
>
> Cheers,
> Thomas
>
More information about the dovecot
mailing list