source: exist/trunk/indexing/moles.alt.xconf @ 2579

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/indexing/moles.alt.xconf@4864
Revision 2579, 6.8 KB checked in by ko23, 15 years ago (diff)

Index final candidates

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<collection xmlns="http://exist-db.org/collection-config/1.0">
3       
4<!-- Defines a bunch of indexes for collections of MOLES records.
5
6        Alternate index version
7
8                This file should be stored into /db/system/config/db/&amp;amp;lt;collection-name&amp;amp;gt; as &amp;amp;lt;collection-name&amp;amp;gt;.xconf, or integrated into the existing xconf if one already exists
9                KDO - 20070503
10                Extended to index deployments, and introduce qname indices
11                KDO - 20070508
12                Extended to deployment indices
13                KDO - 20070522
14                Reverse ids
15                KDO - 20070605
16
17        Alternate 1
18                extended indices to include description elements and keywords.
19                KDO - 20070612
20        -->
21                <index xmlns:moles="http://ndg.nerc.ac.uk/moles">
22                <create path="//moles:dgMetadataRecord"/>
23                <create path="//moles:dgMetadataRecord/moles:dgMetadataID"/>
24                <create path="//moles:dgMetadataRecord/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
25                <create path="//moles:dgMetadataRecord/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
26                <create path="//moles:dgPerson"/>
27                <create path="//moles:dgPerson/moles:dgMetadataID"/>
28                <create path="//moles:dgPerson/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
29                <create path="//moles:dgPerson/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
30                <create path="//moles:dgOrganisation"/>
31                <create path="//moles:dgOrganisation/moles:dgMetadataID"/>
32                <create path="//moles:dgOrganisation/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
33                <create path="//moles:dgOrganisation/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
34                <create path="//moles:dgRelatedDataEntity"/>
35                <create path="//moles:dgRelatedDataEntity/moles:dgMetadataID"/>
36                <create path="//moles:dgRelatedDataEntity/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
37                <create path="//moles:dgRelatedDataEntity/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
38                <create path="//moles:relatedActivity"/>
39                <create path="//moles:relatedActivity/moles:dgMetadataID"/>
40                <create path="//moles:relatedActivity/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
41                <create path="//moles:relatedActivity/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
42                <create path="//moles:ActivityDeployment"/>
43                <create path="//moles:ActivityDeployment/moles:dgMetadataID"/>
44                <create path="//moles:ActivityDeployment/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
45                <create path="//moles:ActivityDeployment/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
46                <create path="//moles:dgObsStationDeployment"/>
47                <create path="//moles:dgObsStationDeployment/moles:dgMetadataID"/>
48                <create path="//moles:dgObsStationDeployment/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
49                <create path="//moles:dgObsStationDeployment/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
50                <create path="//moles:DPTDeployment"/>
51                <create path="//moles:DPTDeployment/moles:dgMetadataID"/>
52                <create path="//moles:DPTDeployment/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
53                <create path="//moles:DPTDeployment/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
54                <create path="//moles:RelatedDeployment"/>
55                <create path="//moles:RelatedDeployment/moles:dgMetadataID"/>
56                <create path="//moles:RelatedDeployment/moles:dgMetadataID/moles:localIdentifier" type="xs:string"/>
57                <create path="//moles:RelatedDeployment/moles:dgMetadataID/moles:repositoryIdentifier" type="xs:string"/>
58                <create qname="//moles:localIdentifier" type="xs:string"/>
59                <create qname="//moles:repositoryIdentifier" type="xs:string"/>
60                <create qname="//moles:ParentListID" type="xs:string"/>
61                <create path="//moles:dgStructuredKeyword"/>
62                <create path="//moles:dgStructuredKeyword/moles:dgValidTermID"/>
63                <create path="//moles:dgStructuredKeyword/moles:dgValidTermID/moles:ParentListID" type="xs:string"/>
64                <create path="//moles:dgStructuredKeyword/moles:dgValidTermID/moles:TermID" type="xs:string"/>
65                <create path="//moles:dgStructuredKeyword/moles:dgValidTerm" type="xs:string"/>
66                <create path="//moles:dgStructuredKeyword/moles:ListLevel" type="xs:integer"/>
67                <create path="//moles:dgValidSubterm"/>
68                <create path="//moles:dgValidSubterm/moles:dgValidTermID"/>
69                <create path="//moles:dgValidSubterm/moles:dgValidTermID/moles:ParentListID" type="xs:string"/>
70                <create path="//moles:dgValidSubterm/moles:dgValidTermID/moles:TermID" type="xs:string"/>
71                <create path="//moles:dgValidSubterm/moles:dgValidTerm" type="xs:string"/>
72                <create path="//moles:dgValidSubterm/moles:ListLevel" type="xs:integer"/>
73                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription"/>
74                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection"/>
75                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection/moles:descriptionOnlineReference"/>
76                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection/moles:descriptionOnlineReference/moles:dgReferenceClass"/>
77                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection/moles:descriptionOnlineReference/moles:dgReferenceClass/moles:dgValidTermID"/>
78                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection/moles:descriptionOnlineReference/moles:dgReferenceClass/moles:dgValidTermID/moles:ParentListID"/>
79                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:descriptionSection/moles:descriptionOnlineReference/moles:dgReferenceClass/moles:dgValidTermID/moles:TermID"/>
80                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription"/>
81                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract"/>
82                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract/moles:abstractOnlineReference"/>
83                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract/moles:abstractOnlineReference/moles:dgReferenceClass"/>
84                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract/moles:abstractOnlineReference/moles:dgReferenceClass/moles:dgValidTermID"/>
85                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract/moles:abstractOnlineReference/moles:dgReferenceClass/moles:dgValidTermID/moles:ParentListID"/>
86                <create path="//moles:dgMetadataRecord/moles:dgMetadataDescription/moles:abstract/moles:abstractOnlineReference/moles:dgReferenceClass/moles:dgValidTermID/moles:TermID"/>
87                <create qname="//moles:ParentListID" type="xs:string"/>
88                <create qname="//moles:dgValidTerm" type="xs:string"/>
89                <create qname="//moles:TermID" type="xs:string"/>
90                <create qname="//moles:localIdentifier" type="xs:string"/>
91                <create qname="//moles:repositoryIdentifier" type="xs:string"/>
92                </index>
93                </collection>
Note: See TracBrowser for help on using the repository browser.