Use AM_LDFLAGS instead of LDFLAGS
[yazpp-moved-to-github.git] / etc / voyager.xml
1 <?xml version="1.0"?>
2 <!-- $Id: voyager.xml,v 1.9 2004-01-09 14:04:43 adam Exp $ -->
3 <proxy>
4   <!-- define default target and name it voyager -->
5   <target default="1" name="voyager">
6     <!-- all backend addresses as seen from this proxy .. -->
7     <url>z3950.loc.gov:7090</url>
8
9     <!-- set session timeout between proxy and backend target -->
10     <target-timeout>300</target-timeout>
11
12     <!-- set session timeout between client and proxy.
13     Should be lower than target-timeout -->
14     <client-timeout>180</client-timeout>
15
16     <!-- if either bandwidth or pdu limit is reached the session is no
17     longer kept alive -->
18     <keepalive>
19       <bandwidth>500000</bandwidth>
20       <pdu>500</pdu>
21     </keepalive>
22
23     <!-- client limits .. -->
24     <limit>
25       <bandwidth>200000</bandwidth>
26       <pdu>31</pdu>
27       <retrieve>50</retrieve>
28     </limit>
29
30     <!-- use attributes -->
31     <attribute type="1" value="1-11,13-1010,1013-1023,1025-1030"/>
32     <attribute type="1" value="*" error="114"/>
33
34     <!-- relation attributes -->
35     <attribute type="2" value="1,2,3,4,5,6"/>
36     <attribute type="2" value="*" error="117"/>
37     
38     <!-- position attributes -->
39     <attribute type="3" value="1,2,3"/>
40     <attribute type="3" value="*" error="119"/>
41
42     <!-- structure attributes -->
43     <attribute type="4" value="1,2,3,4,5,6"/>
44     <attribute type="4" value="*" error="118"/>
45
46     <!-- truncation attributes -->
47     <attribute type="5" value="1,100"/>
48     <attribute type="5" value="*" error="120"/>
49
50     <!-- completeness attributes -->
51     <attribute type="6" value="1,2,3"/>
52     <attribute type="6" value="*" error="122"/>
53
54     <!-- other types -->
55     <attribute type="*" value="*" error="113"/>
56
57     <!-- list allowed record syntaxes and possible schemas (if any);
58     reject all others at the end -->
59     <syntax type="opac"/>
60     <syntax type="usmarc"/>
61     <syntax type="none"/>
62     
63     <syntax type="xml" marcxml="1"
64       identifier="http://www.loc.gov/marcxml/"
65       >
66       <title>MARCXML</title>
67       <name>marcxml</name>
68     </syntax>
69     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2DC.xsl"
70       identifier="http://www.loc.gov/zing/srw/dcschema/v1.0/"
71       >
72       <title>Dublin Core</title>
73       <name>dc</name>
74     </syntax>
75     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
76       identifier="http://www.loc.gov/mods/v3"
77       >
78       <title>MODS</title>
79       <name>mods</name>
80     </syntax>
81
82     <syntax type="*" error="238"/>
83
84     <!-- keep this number of spare sessions for future sessions -->
85     <preinit>2</preinit>
86
87     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
88       <serverInfo>
89         <host>indexdata.dk</host>
90         <port>9000</port>
91         <database>voyager</database>
92       </serverInfo>
93       
94       <databaseInfo>
95         <title>LoC gateway</title>
96         <description lang="en" primary="true">
97           SRW/SRU/Z39.50 Gateway to Library of Congress' Z39.50 server
98         </description>
99       </databaseInfo>
100       
101       <indexInfo>
102         <set identifier="http://www.loc.gov/zing/cql/context-sets/cql/v1.1/"
103           name="cql"/>
104         <set identifier="http://www.loc.gov/zing/cql/dc-indexes/v1.0/"
105           name="dc"/>
106         <set identifier="http://www.loc.gov/zing/cql/context-sets/bath/v1.1/"
107           name="bath"/>
108         
109         <index id="4">
110           <title>title</title>
111           <map><name set="dc">title</name></map>
112         </index>
113         <index id="21">
114           <title>subject</title>
115           <map><name set="dc">subject</name></map>
116         </index>
117         <index id="1003">
118           <title>creator</title>
119           <map><name set="dc">creator</name></map>
120           <map><name set="dc">author</name></map>
121         </index>
122         
123         <index id="1020">
124           <title>editor</title>
125           <map><name set="dc">editor</name></map>
126         </index>
127         
128         <index id="1018">
129           <title>publisher</title>
130           <map><name set="dc">publisher</name></map>
131         </index>
132         
133         <index id="62">
134           <title>description</title>
135           <map><name set="dc">description</name></map>
136         </index>
137         
138         <index id="30">
139           <title>date</title>
140           <map><name set="dc">date</name></map>
141         </index>
142         
143         <index id="1002">
144           <title>name</title>
145           <map><name set="bath">name</name></map>
146         </index>
147         
148         <index id="7">
149           <title>isbn</title>
150           <map><name set="bath">isbn</name></map>
151         </index>
152         <index id="8">
153           <title>issn</title>
154           <map><name set="bath">issn</name></map>
155         </index>
156       </indexInfo>
157
158       <schemaInfo>
159         <schema identifier="http://www.loc.gov/marcxml/"
160           sort="false" name="marcxml">
161           <title>MARCXML</title>
162         </schema>
163         
164         <schema identifier="http://www.loc.gov/zing/srw/dcschema/v1.0"
165           sort="false" name="dc">
166           <title>Dublin Core</title>
167         </schema>
168         
169         <schema identifier="http://www.loc.gov/mods/v3"
170           sort="false" name="mods">
171           <title>MODS</title>
172         </schema>
173       </schemaInfo>
174       
175     </explain>
176    <cql2rpn>pqf.properties</cql2rpn>
177   </target>
178
179
180   <!-- maximum number of client sessions. Remember to allow for
181      at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->
182   <max-clients>500</max-clients>
183   
184   <!-- what we log. Allowed tokens: client-apdu, server-apdu,
185   client-requests, server-requests -->
186   <log>client-requests server-requests</log>
187 </proxy>