zoom: allow local torus record.
[metaproxy-moved-to-github.git] / etc / explain.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3
4 <!-- this file configures the SRU/SRW explain response -->
5 <!-- see: http://explain.z3950.org/dtd/commentary.html -->
6 <!-- validate this using zeerex-2.0.xsd -->
7 <!-- Extensions see: http://explain.z3950.org/dtd/extensions.html -->
8
9 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
10
11   <serverInfo protocol="SRU">
12     <host>foo.somehost.somewhere</host>
13     <port>9000</port>
14     <database>Default</database>
15   </serverInfo>
16
17   <databaseInfo>
18     <title lang="en" primary="true">Metaproxy SRU explain record</title>
19     <description lang="en" primary="true">
20       Some description of this service
21     </description>
22     <author>Marc Cromme, Index Data Aps, http://www.indexdata.com</author>
23     <contact>Marc Cromme, marc(at)indexdata(dot)com</contact>
24     <history>Implemented for Talis LTD</history>
25   </databaseInfo>
26
27   <indexInfo>
28     <set name="cql" identifier="info:srw/cql-context-set/1/cql-v1.1">
29       <title>CQL Standard Set</title>
30     </set>
31     <set name="rec" identifier="info:srw/cql-context-set/2/rec-1.0">
32       <title>Record Standard Set</title>
33     </set>
34     <set name="dc" identifier="info:srw/cql-context-set/1/dc-v1.1">
35       <title>Dublin Core Set</title>
36     </set>
37     <set name="bib1" identifier="1.2.840.10003.3.1">
38       <title>BIB-1 Z39.50 Standard Set</title>
39     </set>
40
41     <!-- CQL standard index -->
42     <index search="true" scan="true" sort="false">
43       <title lang="en">CQL Server Choice</title>
44       <map><name set="cql">serverChoice</name></map>
45       <map>
46         <attr type="1" set="bib1">1010</attr>
47       </map>
48     </index>
49     <index search="true" scan="true" sort="false">
50       <title lang="en">CQL All</title>
51       <map><name set="cql">all</name></map>
52       <map>
53         <attr type="1" set="bib1">1010</attr>
54       </map>
55     </index>
56
57     <!-- Record ID index -->
58     <index search="true" scan="true" sort="false">
59       <title lang="en">Record ID</title>
60       <map><name set="rec">id</name></map>
61       <map>
62         <attr type="1" set="bib1">12</attr>
63         <attr type="4" set="bib1">3</attr>
64       </map>
65     </index>
66
67     <!-- Dublin Core Indexes -->
68     <index search="true" scan="true" sort="false">
69       <title lang="en">DC Title</title>
70       <map><name set="dc">title</name></map>
71       <map>
72         <attr type="1" set="bib1">4</attr>
73       </map>
74     </index>
75     <index search="true" scan="true" sort="false">
76       <title lang="en">DC Creator</title>
77       <map><name set="dc">creator</name></map>
78       <map>
79         <attr type="1" set="bib1">1003</attr>
80       </map>
81     </index>
82     <index search="true" scan="true" sort="false">
83       <title lang="en">DC Subject</title>
84       <map><name set="dc">subject</name></map>
85       <map>
86         <attr type="1" set="bib1">47</attr>
87       </map>
88     </index>
89     <index search="true" scan="true" sort="false">
90       <title lang="en">DC Description</title>
91       <map><name set="dc">description</name></map>
92       <map>
93         <attr type="1" set="bib1">62</attr>
94       </map>
95     </index>
96     <index search="true" scan="true" sort="false">
97       <title lang="en">DC Publisher</title>
98       <map><name set="dc">publisher</name></map>
99       <map>
100         <attr type="1" set="bib1">1018</attr>
101       </map>
102     </index>
103     <index search="true" scan="true" sort="false">
104       <title lang="en">DC Contributor</title>
105       <map><name set="dc">contributor</name></map>
106       <map>
107         <attr type="1" set="bib1">1003</attr>
108       </map>
109     </index>
110     <index search="true" scan="true" sort="false">
111       <title lang="en">DC Date</title>
112       <map><name set="dc">date</name></map>
113       <map>
114         <attr type="1" set="bib1">30</attr>
115       </map>
116     </index>
117     <index search="true" scan="true" sort="false">
118       <title lang="en">DC Type</title>
119       <map><name set="dc">type</name></map>
120       <map>
121         <attr type="1" set="bib1">1034</attr>
122       </map>
123     </index>
124     <index search="true" scan="true" sort="false">
125       <title lang="en">DC Format</title>
126       <map><name set="dc">format</name></map>
127       <map>
128         <attr type="1" set="bib1">1013</attr>
129       </map>
130     </index>
131     <index search="true" scan="true" sort="false">
132       <title lang="en">DC Identifier</title>
133       <map><name set="dc">identifier</name></map>
134       <map>
135         <attr type="1" set="bib1">7</attr>
136       </map>
137     </index>
138     <index search="true" scan="true" sort="false">
139       <title lang="en">DC Source</title>
140       <map><name set="dc">source</name></map>
141       <map>
142         <attr type="1" set="bib1">1019</attr>
143       </map>
144     </index>
145     <!--
146     <index search="true" scan="true" sort="false">
147       <title lang="en">DC Language</title>
148       <map><name set="dc">language</name></map>
149       <map>
150         <attr type="1" set="bib1">54</attr>
151       </map>
152     </index>
153     <index search="true" scan="true" sort="false">
154       <title lang="en">DC Relation</title>
155       <map><name set="dc">relation</name></map>
156       <map>
157         <attr type="1" set="bib1">1026</attr>
158       </map>
159     </index>
160     <index search="true" scan="true" sort="false">
161       <title lang="en">DC Coverage</title>
162       <map><name set="dc">coverage</name></map>
163       <map>
164         <attr type="1" set="bib1">58</attr>
165       </map>
166     </index>
167     <index search="true" scan="true" sort="false">
168       <title lang="en">DC Rights</title>
169       <map><name set="dc">rights</name></map>
170       <map>
171         <attr type="1" set="bib1">dc:rights</attr>
172       </map>
173     </index>
174     -->
175   </indexInfo>
176
177   <schemaInfo>
178     <schema identifier="http://www.loc.gov/zing/srw/dcschema/v1.0/"
179             location="http://www.loc.gov/zing/srw/dc.xsd" 
180             name="dc"
181             retrieve="true">
182       <title lang="en">Dublin Core</title>
183     </schema>
184     <!--
185     <schema identifier="http://indexdata.dk/dc-short"
186             location="" 
187             name="dc-short"
188             retrieve="true">
189       <title lang="en">Dublin Core Short Form</title>
190     </schema>
191     -->
192   </schemaInfo>
193
194  
195   <configInfo>
196
197     <!-- searchRetrieve settings -->
198     <default type="contextSet">cql</default>
199     <default type="index">all</default>
200     <default type="relation">=</default>
201     <supports type="relation">&lt;</supports> <!-- 2=1 OK -->
202     <supports type="relation">&lt;=</supports> <!-- 2=2 OK -->
203     <supports type="relation">=</supports> <!-- 2=3 OK -->
204     <supports type="relation">&gt;=</supports> <!-- 2=4 OK -->
205     <supports type="relation">&gt;</supports> <!-- 2=5 OK -->
206     <!--<supports type="relationModifier">relevant</supports> --><!-- 2=102 -->
207     <!--<supports type="relationModifier">phonetic</supports> --><!-- 2=100 -->
208     <!--<supports type="relationModifier">stem</supports> --><!-- 2=101  -->
209
210     <!-- <supports type="proximity"></supports> --> 
211           <!-- title = (house prox/distance=1/unit=word  the) -->
212     <!-- proximity modifier supported by the server or index 
213          (relation, distance, unit, ordering) -->
214     <!-- <supports type="proximityModifier"></supports> -->
215     <!-- boolean modifier supported by the server or index -->
216     <!-- <supports type="booleanModifier"></supports> -->
217     <supports type="maskingCharacter">*</supports>
218     <supports type="maskingCharacter">?</supports>
219     <supports type="emptyTerm"></supports>
220
221     <!-- sorting settings -->
222     <!-- <supports type="sort"></supports> -->
223     <!-- supported sortmodifier (ascending, missingValue, caseSensitive) -->
224     <!-- <supports type="sortModifier"></supports> -->
225
226     <!-- presentation settings --> 
227     <default type="numberOfRecords">0</default>
228     <default type="retrieveSchema">dc</default>
229     <default type="recordPacking">xml</default>
230
231     <setting type="stylesheet">docpath/sru.xsl</setting>
232     <!-- <setting type="maximumRecords">1000</setting> -->
233     <!-- <supports type="resultSets"></supports>  --> 
234
235     <!-- scan settings -->
236
237     <!-- scan operation supported -->
238     <supports type="scan"></supports>
239     <default type="numberOfTerms">20</default>
240
241     <!-- other server settings -->
242     <!-- <supports type="version">1.1</supports> -->
243     <setting type="resultSetTTL">0</setting>
244     <!-- <supports type="extraSearchData"></supports> -->
245     <!-- <supports type="extraExplainData"></supports> -->
246     <!-- <supports type="profile"></supports> -->
247   </configInfo>
248    
249 </explain>