Update tests - embedded settings in service.
[pazpar2-moved-to-github.git] / test / gils_service.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2     <service id="gils">
3       <settings target="z3950.indexdata.com/gils">
4         <set name="pz:name" value="Index Data GILS test server"/>
5         
6         <!-- mapping for unqualified search -->
7         <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
8         
9         <!-- field-specific mappings -->
10         <set name="pz:cclmap:ti" value="u=4 s=al"/>
11         <set name="pz:cclmap:su" value="u=21 s=al"/>
12         <set name="pz:cclmap:isbn" value="u=7"/>
13         <set name="pz:cclmap:issn" value="u=8"/>
14         <set name="pz:cclmap:date" value="u=30 r=r"/>
15         
16         <!-- Retrieval settings -->
17         <set name="pz:requestsyntax" value="marc21"/>
18
19         <!-- Result normalization settings -->
20         <set name="pz:nativesyntax" value="iso2709"/>
21         <set name="pz:xslt" value="auto"/>
22         
23         <set name="pz:apdulog" value="1"/>
24         
25       </settings>
26
27       <metadata name="url" merge="unique"/>
28       <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
29       <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
30       <metadata name="isbn"/>
31       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
32                 termlist="yes"/>
33       <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
34       <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
35       <metadata name="id"/>
36     </service>