Can you include the entire exception? This is really necessary!

On Tue, Jul 17, 2012 at 2:58 AM, Oliver Schihin
<oliver.schi...@unibas.ch> wrote:
> Hello
>
> According to release notes from 4.0.0-ALPHA, SOLR-2396, I replaced
> ICUCollationKeyFilterFactory with ICUCollationField in our schema. But this
> throws an exception, see the following excerpt from the log:
> ------------------------------------
> Jul 16, 2012 5:27:48 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException: Plugin init failure for
> [schema.xml] fieldType "alphaOnlySort": Pl
> ugin init failure for [schema.xml] analyzer/filter: class
> org.apache.solr.schema.ICUCollationField
> at
> org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:168)
> at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:359)
> ------------------------------------
> The deprecated filter of ICUCollationKeyFilterFactory is working without any
> problem. This is how I did the schema (with the deprecated filter):
> ------------------------------------
>    <!-- field type for sort strings -->
>    <fieldType name="alphaOnlySort" class="solr.TextField"
> sortMissingLast="true" omitNorms="true">
>       <analyzer>
>         <tokenizer class="solr.KeywordTokenizerFactory"/>
>         <filter class="solr.ICUCollationKeyFilterFactory"
>                 locale="de@collation=phonebook"
>                 strength="primary"
>          />
>       </analyzer>
>     </fieldType>
> ------------------------------------
>
> Do I have to replace jars in /contrib/analysis-extras/, or any other hints
> of what might be wrong in my install and configuration?
>
> Thanks a lot
> Oliver
>
>



-- 
lucidimagination.com

Reply via email to