source: TI07-MOLES/trunk/eXist specific/indexing/moles.xconf @ 2463

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI07-MOLES/trunk/eXist specific/indexing/moles.xconf@2463
Revision 2463, 2.9 KB checked in by ko23, 12 years ago (diff)

Extended indexing/moles.xconf and moved xqueryLib to somewhere more sensible

Line 
1<collection xmlns="http://exist-db.org/collection-config/1.0">
2        <!-- Defines a bunch of indexes for collections of MOLES records.
3                This file should be stored into /db/system/config/db/&lt;collection-name&gt; as &lt;collection-name&gt;.xconf, or integrated into the existing xconf if one already exists
4                KDO - 20070503
5                Extended to index deployments, and introduce qname indices
6                KDO - 20070508
7               
8        -->
9    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
10        <create path="//moles:dgMetadataID"/>
11        <create path="//moles:dgMetadataID/moles:schemeIdentifier" type="xs:string"/>
12        <create path="//moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
13        <create path="//moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
14    </index>
15    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
16        <create path="//moles:RelatedDeployment"/>
17    </index>
18    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
19        <create path="//moles:dgRelatedDataEntity"/>
20    </index>
21    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
22        <create path="//moles:relatedActivity"/>
23    </index>
24    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
25        <create path="//moles:ActivityDeployment"/>
26    </index>
27    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
28        <create path="//moles:dgObsStationDeployment"/>
29    </index>
30    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
31        <create path="//moles:DPTDeployment"/>
32    </index>
33    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
34        <create qname="//moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
35        <create qname="//moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
36        <create qname="//moles:dgMetadataID/moles:schemeIdentifier" type="xs:string"/>
37    </index>
38   <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
39        <create qname="//moles:RelatedDeployment"/>
40    </index>
41    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
42        <create qname="//moles:dgRelatedDataEntity"/>
43    </index>
44    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
45        <create qname="//moles:relatedActivity"/>
46    </index>
47    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
48        <create qname="//moles:ActivityDeployment"/>
49    </index>
50    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
51        <create qname="//moles:dgObsStationDeployment"/>
52    </index>
53    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
54        <create qname="//moles:DPTDeployment"/>
55    </index>
56    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
57        <create qname="//moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
58        <create qname="//moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
59        <create qname="//moles:dgMetadataID/moles:schemeIdentifier" type="xs:string"/>
60    </index>
61</collection>
Note: See TracBrowser for help on using the repository browser.