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 2009/09/11 09:58:38 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

------------------------------------------------------------------------------
    </aggregate>
  </configuration>
  }}}
+ 
+ As of Jackrabbit 1.6 you can define includes on a property level. Properties that match the path against the root of an indexing aggregate are included in the aggregated node index. Aggregated properties are also used to speed up sorting of query results when the order by clause references a property with a relative path. Please make sure you use the correct DTD (the 1.2 version):
+ 
+ {{{
+ <?xml version="1.0"?>
+ <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.2.dtd">
+ <configuration xmlns:jcr="http://www.jcp.org/jcr/1.0"
+                xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
+   <aggregate primaryType="nt:file">
+     <include>jcr:content</include>
+     <include-property>jcr:content/jcr:lastModified</include-property>
+   </aggregate>
+ </configuration>
+ }}}
+ 
  
  === Index Analyzers ===