jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paco Avila" <monk...@gmail.com>
Subject Configuring analyzer for property with namespace
Date Tue, 05 Aug 2008 07:17:33 GMT
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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message