Add missing class attribute to standard tokenizer in Solr schema.xml
Good day
Description: This pull/merge request addresses an issue with the Solr schema configuration for the dovecot core. The schema.xml file was missing the mandatory class attribute for the standard tokenizer, causing Solr to fail when loading the configuration.
Problem When attempting to load the dovecot core, the following error occurred: dovecot: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core dovecot: Can't load schema /var/solr/data/dovecot/conf/schema.xml: Plugin init failure for [schema.xml] fieldType "text": Plugin init failure for [schema.xml] analyzer/tokenizer "standard": [schema.xml] analyzer/tokenizer: missing mandatory attribute 'class'
The error indicates that the standard tokenizer in the text field type is missing the required class attribute, which specifies the tokenizer's implementation class.
Solution:
The issue has been resolved by adding the class="solr.StandardTokenizerFactory" attribute to the
Kind Regards Brent Clark
Thanks. We'll take a look.