<?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">

    <index-rule nodeType="nt:hierarchyNode">
        <!-- do not index any properties -->
    </index-rule>
    
    <aggregate primaryType="nt:folder" recursive="true" recursiveLimit="0">
        <include primaryType="nt:folder">*</include>
        <include primaryType="nt:file">*</include>
    </aggregate>

    <aggregate primaryType="nt:file">
        <include>jcr:content</include>
        <include>jcr:content/*</include>
        <include-property>jcr:content/jcr:lastModified</include-property>
    </aggregate>

    <aggregate primaryType="nt:unstructured" recursive="true" recursiveLimit="-1">
        <include>aggregated-node</include>
        <include-property>child/property</include-property>
    </aggregate>

</configuration>
