You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Hemanth Kumar (Jira)" <ji...@apache.org> on 2022/02/07 16:09:00 UTC
[jira] [Created] (OAK-9688) UnsupportedOperationException when using Snowball Porter Stemmer filter.
Hemanth Kumar created OAK-9688:
----------------------------------
Summary: UnsupportedOperationException when using Snowball Porter Stemmer filter.
Key: OAK-9688
URL: https://issues.apache.org/jira/browse/OAK-9688
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Hemanth Kumar
While working with *Language* *Analyzers* for lucene index in AEM 6.5 SP 8, we have observing runtime error while using {{SnowballPorter}} filter. During our analysis, this issue was found to be triggered from {{jackrabbit.oak.plugins}}
Following is *Analyzer* definition,
{code:java}
analyzers jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<charFilters jcr:primaryType="nt:unstructured">
<HTMLStrip jcr:primaryType="nt:unstructured"/>
<Mapping jcr:primaryType="nt:unstructured"/>
</charFilters>
<filters jcr:primaryType="nt:unstructured">
<LowerCase jcr:primaryType="nt:unstructured"/>
<SnowballPorter
jcr:primaryType="nt:unstructured"
language="German">
</SnowballPorter>
</filters>
<tokenizer
jcr:primaryType="nt:unstructured"
name="Classic"/>
</default>
</analyzers> {code}
*Error Log:*
{code:java}
04.02.2022 14:50:58.027 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing will be performed for following indexes: [/oak:index/newcoSiteSearch.den-custom-1]
04.02.2022 14:50:58.029 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.progress.NodeCounterMBeanEstimator Paths to be traversed includedPath : [/content/newco/language-masters/de], excludedPaths : []
04.02.2022 14:50:58.029 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Estimated node count to be traversed for reindexing under / is [0]
04.02.2022 14:50:58.033 *WARN* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate [async] The index update failed
java.lang.UnsupportedOperationException: null
at org.apache.jackrabbit.oak.plugins.index.lucene.NodeStateAnalyzerFactory$NodeStateResourceLoader.newInstance(NodeStateAnalyzerFactory.java:287) [org.apache.jackrabbit.oak-lucene:1.22.6]
at org.apache.lucene.analysis.snowball.SnowballPorterFilterFactory.inform(SnowballPorterFilterFactory.java:66) [org.apache.jackrabbit.oak-lucene:1.22.6]
at org.apache.jackrabbit.oak.plugins.index.lucene.NodeStateAnalyzerFactory.init(NodeStateAnalyzerFactory.java:190) [org.apache.jackrabbit.oak-lucene:1.22.6] {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)