Debian Codegraph @

jackrabbit-core/src/test/repository/workspaces/indexing-test/indexing-configuration.xml

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.2.dtd">
3 <configuration xmlns:jcr="http://www.jcp.org/jcr/1.0"
4 xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
5
6 <index-rule nodeType="nt:unstructured" condition="@rule='boost1'">
7 <!-- default boost: 1.0 -->
8 <property>text</property>
9 </index-rule>
10
11 <index-rule nodeType="nt:unstructured" condition="@rule='boost2'">
12 <!-- boost: 2.0 -->
13 <property boost="2.0">text</property>
14 </index-rule>
15
16 <index-rule nodeType="nt:unstructured" condition="@rule='boost3'">
17 <!-- boost: 3.0 -->
18 <property boost="3.0">text</property>
19 </index-rule>
20
21 <index-rule nodeType="nt:unstructured" condition="@rule='nsiTrue'">
22 <!-- default value for nodeScopeIndex is true -->
23 <property>text</property>
24 </index-rule>
25
26 <index-rule nodeType="nt:unstructured" condition="@rule='nsiFalse'">
27 <!-- do not include text in node scope index -->
28 <property nodeScopeIndex="false">text</property>
29 </index-rule>
30
31 <index-rule nodeType="nt:unstructured" condition="@rule='regexp'">
32 <property isRegexp="true">.*Text</property>
33 </index-rule>
34
35 <index-rule nodeType="nt:unstructured" condition="@rule='excerpt'">
36 <property useInExcerpt="false">title</property>
37 <property>foo</property><!-- needed to test JCR-3610 -->
38 <property>text</property>
39 </index-rule>
40
41 <index-rule nodeType="nt:unstructured"
42 condition="ancestor::*/@rule = 'ancestor-axis'">
43 <property>Text</property>
44 </index-rule>
45
46 <index-rule nodeType="nt:hierarchyNode">
47 <!-- do not index any properties -->
48 </index-rule>
49
50 <aggregate primaryType="nt:folder" recursive="true" recursiveLimit="10">
51 <include primaryType="nt:folder">*</include>
52 <include primaryType="nt:file">*</include>
53 </aggregate>
54
55 <aggregate primaryType="nt:file">
56 <include>jcr:content</include>
57 <include>jcr:content/*</include>
58 <include-property>jcr:content/jcr:lastModified</include-property>
59 </aggregate>
60
61 <aggregate primaryType="nt:unstructured">
62 <include>aggregated-node</include>
63 <include-property>child/property</include-property>
64 </aggregate>
65
66 </configuration>