jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "IndexingConfiguration" by MarcelReutegger
Date Fri, 18 Jul 2008 16:16:02 GMT
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>
  }}}

Mime
View raw message