Add cql.allRecords
[yaz-moved-to-github.git] / etc / yazgfs.xml
1 <!-- $Id: yazgfs.xml,v 1.6 2006-09-06 09:35:40 adam Exp $ -->
2 <!-- sample YAZ GFS config file .. see 
3   http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
4 <yazgfs>
5   <listen id="public1">tcp:@:9000</listen>
6   <server id="server1" listenref="public1">
7      <directory>.</directory> <!-- directory where backend is running -->
8      <config>zebra.cfg</config>
9      <cql2rpn>pqf.properties</cql2rpn>
10      <docpath>xsl</docpath>
11      <stylesheet>xsl/default.xsl</stylesheet>
12      <maximumrecordsize>2000000</maximumrecordsize>
13      <retrievalinfo>
14        <retrieval syntax="grs-1"/>
15        <retrieval syntax="usmarc" name="F"/>
16        <retrieval syntax="usmarc" name="B"/>
17        <retrieval syntax="xml" name="marcxml"
18                   identifier="info:srw/schema/1/marcxml-v1.1"
19                   backendsyntax="usmarc" backendname="F">
20          <convert>
21            <marc inputformat="marc" outputformat="marcxml"
22                  inputcharset="marc-8"/>
23          </convert>
24        </retrieval>
25        <retrieval syntax="xml" name="danmarc"
26                   backendsyntax="usmarc" backendname="F">
27          <convert>
28            <marc inputformat="marc" outputformat="marcxchange"
29                  inputcharset="marc-8"/>
30          </convert>
31        </retrieval>
32        <retrieval syntax="xml" name="dc"
33                   identifier="info:srw/schema/1/dc-v1.1"
34                   backendsyntax="usmarc" backendname="F">
35          <convert>
36            <marc inputformat="marc" outputformat="marcxml"
37                  inputcharset="marc-8"/>
38            <xslt stylesheet="../etc/MARC21slim2DC.xsl"/>
39          </convert>
40        </retrieval>
41      </retrievalinfo>
42      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
43         <serverInfo>
44            <host>myserver.org</host>
45            <port>9000</port>
46            <database>Default</database>
47         </serverInfo>
48     </explain>
49   </server>
50 </yazgfs>
51