1.6.22-2indexdata
[pazpar2-moved-to-github.git] / etc / services / perf.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <service id="perf" xmlns="http://www.indexdata.com/pazpar2/1.0">
3   <timeout session="20" z3950_operation="10" z3950_session="30"/>
4   
5   <settings target="*">
6     <set target="localhost:9999/db01" name="pz:name" value="db01"/>
7     <set target="localhost:9999/db02" name="pz:name" value="db02"/>
8     <set target="localhost:9999/db03" name="pz:name" value="db03"/>
9     <set target="localhost:9999/db04" name="pz:name" value="db04"/>
10     <set target="localhost:9999/db05" name="pz:name" value="db05"/>
11     <set target="localhost:9999/db06" name="pz:name" value="db06"/>
12     <set target="localhost:9999/db07" name="pz:name" value="db07"/>
13     <set target="localhost:9999/db08" name="pz:name" value="db08"/>
14     <set target="localhost:9999/db09" name="pz:name" value="db09"/>
15     <set target="localhost:9999/db10" name="pz:name" value="db10"/>
16
17     <set target="localhost:9999/db11" name="pz:name" value="db11"/>
18     <set target="localhost:9999/db12" name="pz:name" value="db12"/>
19     <set target="localhost:9999/db13" name="pz:name" value="db13"/>
20     <set target="localhost:9999/db14" name="pz:name" value="db14"/>
21     <set target="localhost:9999/db15" name="pz:name" value="db15"/>
22     <set target="localhost:9999/db16" name="pz:name" value="db16"/>
23     <set target="localhost:9999/db17" name="pz:name" value="db17"/>
24     <set target="localhost:9999/db18" name="pz:name" value="db18"/>
25
26     <!-- mapping for unqualified search -->
27     <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
28     <set name="pz:piggyback" value="0" />
29
30     <!-- field-specific mappings -->
31     <set name="pz:cclmap:au"       value="u=1004 s=al"/>
32     <set name="pz:cclmap:au_exact" value="u=1004 s=al 6=3 "/>
33     <set name="pz:cclmap:ti"       value="u=4 s=al"/>
34     <set name="pz:cclmap:su"       value="u=21 s=al"/>
35     <set name="pz:cclmap:su_exact" value="u=21 s=al 6=3"/>
36     <set name="pz:cclmap:isbn"     value="u=7"/>
37     <set name="pz:cclmap:issn"     value="u=8"/>
38     <set name="pz:cclmap:date"     value="u=30 r=r"/>
39
40     <!-- Retrieval settings -->
41
42     <set name="pz:requestsyntax" value="marc21"/>
43     <set name="pz:elements" value="F"/>
44
45     <!-- Result normalization settings -->
46
47     <set name="pz:nativesyntax" value="iso2709"/>
48     <set name="pz:xslt" value="marc21.xsl"/>
49   </settings>
50
51   <relevance>
52     <icu_chain id="relevance" locale="en">
53       <transform rule="[:Control:] Any-Remove"/>
54       <tokenize rule="l"/>
55       <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
56       <casemap rule="l"/>
57     </icu_chain>
58   </relevance>
59   
60   <sort>
61     <icu_chain id="sort" locale="en">
62       <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
63       <casemap rule="l"/>
64     </icu_chain>
65   </sort>
66   
67   <mergekey>
68     <icu_chain id="mergekey" locale="en">
69       <tokenize rule="l"/>
70       <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
71       <casemap rule="l"/>
72     </icu_chain>
73   </mergekey>
74   
75   <!-- we try to keep same order as in marc21.xsl -->
76   <metadata name="id" brief="yes"/>
77   <metadata name="lccn" merge="unique"/>
78   <metadata name="isbn"/>
79   <metadata name="issn"/>
80   <metadata name="tech-rep-nr"/>
81   <!-- Use the cclmap for author. Can be improved with a completeness. Needs to be overriden for SRU/Solr targets -->
82   <metadata name="author" brief="yes" termlist="yes" merge="unique" 
83             rank="2" mergekey="optional" facetrule="facet-author" limitmap="ccl:au_exact" />
84   <metadata name="author-title"/>
85   <metadata name="author-date"/>
86   <metadata name="corporate-name"/>
87   <metadata name="corporate-location"/>
88   <metadata name="corporate-date"/>
89   <metadata name="meeting-name"/>
90   <metadata name="meeting-location"/>
91   <metadata name="meeting-date"/>
92   <metadata name="date" brief="yes" sortkey="numeric" type="year"
93             merge="range" termlist="yes"/>
94   <metadata name="title" brief="yes" sortkey="skiparticle"
95             merge="longest" rank="6" mergekey="required"/>
96   <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
97   <metadata name="title-responsibility" brief="yes" merge="longest"/>
98   <metadata name="title-dates" brief="yes" merge="longest"/>
99   <metadata name="title-medium" brief="yes" merge="longest"/>
100   <metadata name="title-number-section" brief="yes" merge="longest"/>
101   <!-- Do a record filtering for medium -->
102   <metadata name="medium" brief="yes" merge="no" mergekey="optional" limitmap="local:" />
103   <metadata name="iii-id" brief="yes" merge="no"/>
104   <metadata name="edition"/>
105   <metadata name="publication-place"/>
106   <metadata name="publication-name"/>
107   <metadata name="publication-date"/>
108   <metadata name="physical-extent"/>
109   <metadata name="physical-format"/>
110   <metadata name="physical-dimensions"/>
111   <metadata name="physical-accomp"/>
112   <metadata name="physical-unittype"/>
113   <metadata name="physical-unitsize"/>
114   <metadata name="physical-specified"/>
115   
116   <metadata name="series-title"/>
117   
118   <metadata name="description" brief="yes" merge="unique" rank="3"/>
119   <!-- Use the cclmap for subject. Can be improved with a completeness. Needs to be overriden for SRU/Solr targets -->
120   <metadata name="subject" termlist="yes" rank="0" facetrule="facet-subject" limitmap="ccl:su_exact" />
121   <metadata name="subject-long" rank="3"/>
122   <metadata name="snippet" brief="yes" merge="unique"/>
123   <metadata name="electronic-url" brief="yes" merge="no"/>
124   <metadata name="electronic-format-type" />
125   <metadata name="electronic-format-instruction" />
126   <metadata name="electronic-url" brief="yes" merge="no"/>
127   <metadata name="electronic-text" brief="yes" merge="no"/>
128   <metadata name="electronic-note"/>
129   <metadata name="citation"/>
130   <metadata name="holding"/>
131   <metadata name="fulltext"/>
132   <metadata name="locallocation" brief="yes"/>
133   <metadata name="callnumber" brief="yes"/>
134   <metadata name="publicnote" brief="yes"/>
135   
136   <!-- journals -->
137   <metadata name="journal-title"/>
138   <metadata name="journal-subpart"/>
139   <metadata name="volume-number"/>
140   <metadata name="issue-date"/>
141   <metadata name="issue-number"/>
142   
143   <metadata name="url_recipe" setting="postproc" brief="yes" merge="no"/>
144   <metadata name="open_url_resolver" setting="parameter" merge="no"/>
145   <metadata name="open-url" merge="longest"/>
146   <metadata name="use_url_proxy" setting="postproc" brief="yes" merge="no"/>
147   
148   <metadata name="publisher"/>
149   <metadata name="available"/>
150   <metadata name="due"/>
151   <metadata name="thumburl" brief="yes" merge="unique"/>
152   <metadata name="score"/>
153 </service>
154 <!-- Keep this comment at the end of the file
155      Local variables:
156      mode: nxml
157      End:
158 -->
159