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

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

Double indexing removed

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:RelatedDeployment"/>
35    </index>
36    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
37        <create qname="//moles:dgRelatedDataEntity"/>
38    </index>
39    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
40        <create qname="//moles:relatedActivity"/>
41    </index>
42    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
43        <create qname="//moles:ActivityDeployment"/>
44    </index>
45    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
46        <create qname="//moles:dgObsStationDeployment"/>
47    </index>
48    <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
49        <create qname="//moles:DPTDeployment"/>
50    </index>
51</collection>
Note: See TracBrowser for help on using the repository browser.