[
https://issues.apache.org/jira/browse/OAK-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved OAK-2524.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.7
Lucene factories does not like extra config to be passed. Oak Lucene converts a
NodeState to Map which is passed to Lucene factory classes. As all nodes
created via JCR api have {{jcr:primaryType}} defined it also gets passed.
As a fix {{jcr:primaryType}} need to be ignore in nodeState to map conversion
Fixed with http://svn.apache.org/r1660099
> Error while configuring analyzer by composition
> -----------------------------------------------
>
> Key: OAK-2524
> URL: https://issues.apache.org/jira/browse/OAK-2524
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-lucene
> Affects Versions: 1.1.6
> Reporter: Rishabh Maurya
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.1.7
>
>
> Error while creating analyzer by composition from osgi due to an illegal
> argument {{jcr:primaryType}} passed to {{TokenizerFactory.forName(clazz,
> args)}} in {{NodeStateAnalyzerFactory.loadTokenizer()}}
> {noformat}
> Caused by: java.lang.IllegalArgumentException: Unknown parameters:
> {jcr:primaryType=nt:unstructured}
> at
> org.apache.lucene.analysis.core.LowerCaseFilterFactory.<init>(LowerCaseFilterFactory.java:45)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)