You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Szűcs Roland <sz...@bookandwalk.hu> on 2023/06/27 18:44:53 UTC
Plugin Initializing failure for [schema.xml] fieldType
Hey Solr comunity,
I have a core named books. It is not using the managed schema but manually
edited schema.xml.
When I tried to access the admin on localhost, I got the following error:
*books:*
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Could not load conf for core books: Can't load schema
/var/solr/data/books/conf/schema.xml: Plugin Initializing failure for
[schema.xml] fieldType
When I checked the log on Admin UI I got no more details wich fieldType is
the cause of the error.
Here are my custom field types:
<!-- Hungarian -->
<fieldType name="text_hu" class="solr.TextField"
positionIncrementGap="100" uninvertible="false"
omitTermFreqAndPositions="false">
<analyzer type="index">
<tokenizer name="standard"/>
<filter name="lowercase"/>
<filter name="snowballPorter" language="Hungarian"/>
<filter name="asciiFolding" preserveOriginal="true"/>
</analyzer>
<analyzer type="query">
<tokenizer name="standard"/>
<filter name="lowercase"/>
<filter name="snowballPorter" language="Hungarian"/>
</analyzer>
</fieldType>
I do not have any idea what is going wrong here.
Roland
<fieldType name="ngram_hu" class="solr.TextField"
positionIncrementGap="100" uninvertable="false"
omitTermFreqAndPositions="false" omitPositions="true">
<analyzer type="index">
<tokenizer name="nGram" minGramSize="2" maxGramSize="10"/>
<filter name="lowercase"/>
<filter name="asciiFolding" preserveOriginal="true"/>
</analyzer>
<analyzer type="query">
<tokenizer name="keyword"/>
<filter name="lowercase"/>
</analyzer>
</fieldType>
<fieldType name="short_text_hu" class="solr.TextField"
positionIncrementGap="100" uninvertible="false"
omitTermFreqAndPositions="false">
<analyzer type="index">
<tokenizer name="standard"/>
<filter name="lowercase"/>
<filter name="asciiFolding" preserveOriginal="true"/>
</analyzer>
<analyzer type="query">
<tokenizer name="standard"/>
<filter name="lowercase"/>
</analyzer>
</fieldType>