I'm trying to configure a different analyzer for one custom property but a
exception is thrown because the property is defined with a namespace:

javax.jcr.NamespaceException: Unknown namespace prefix okm.

This is the indexing configuration used:

<?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "
http://jackrabbit.apache.org/dtd/indexing-configuration-1.0.dtd";>
<configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0";>
  <analyzers>
        <analyzer class="org.apache.lucene.analysis.SimpleAnalyzer">
            <property>okm:name</property>
        </analyzer>
  </analyzers>
</configuration>

How can I do it?

Reply via email to