Deprecations for schema.xml and newest Solr version (7.2.x)
TG Servers
srvrs at prvtmail.net
Sun Mar 4 19:24:59 EET 2018
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