You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2008/07/18 18:16:02 UTC
[Jackrabbit Wiki] Update of "IndexingConfiguration" by MarcelReutegger
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.
The following page has been changed by MarcelReutegger:
http://wiki.apache.org/jackrabbit/IndexingConfiguration
The comment on the change is:
regular expression in index-rule
------------------------------------------------------------------------------
<configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
<index-rule nodeType="nt:unstructured">
<property nodeScopeIndex="false">Text</property>
+ </index-rule>
+ </configuration>
+ }}}
+
+ Starting with Jackrabbit version 1.5 you may also use a regular expression for the local name of a property. A regular expression for the namespace prefix is not supported! Please make sure you use the correct DTD (the 1.1 version):
+
+ {{{
+ <?xml version="1.0"?>
+ <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.1.dtd">
+ <configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
+ <index-rule nodeType="nt:unstructured">
+ <property isRegexp="true">.*Text</property>
</index-rule>
</configuration>
}}}