0c2883e83f741e4692b25c8b34c08ada068c4021
[pazpar2-moved-to-github.git] / test_icu.cfg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
3   <!-- $Id: test_icu.cfg,v 1.1 2007-09-10 16:25:51 adam Exp $ -->
4   <!-- Used by test_http.sh -->
5   <server>
6     <listen port="9763"/>
7     <proxy host="localhost"/>
8     
9     <relevance>
10       <icu_chain id="relevance" locale="el">
11         <normalize rule="[:Control:] Any-Remove"/>
12         <tokenize rule="l"/>
13         <normalize rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
14         <casemap rule="l"/>
15         <index/>
16       </icu_chain>
17     </relevance>
18
19     <sort>
20       <icu_chain id="sort" locale="el">
21         <normalize rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
22         <casemap rule="l"/>
23         <sortkey/>
24       </icu_chain>
25     </sort>
26     
27     <mergekey>
28       <icu_chain id="mergekey" locale="el">
29         <tokenize rule="l"/>
30         <normalize rule="[[:Control:][:WhiteSpace:][:Punctuation:]] Remove"/>
31         <casemap rule="l"/>
32         <index/>
33       </icu_chain>
34     </mergekey>
35     
36     <service>
37       <metadata name="url" merge="unique"/>
38       <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
39       <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
40       <metadata name="isbn"/>
41       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
42                 termlist="yes"/>
43       <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
44       <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
45       <metadata name="id"/>
46       <metadata name="lccn" merge="unique"/>
47       <metadata name="description" brief="yes" merge="longest" rank="3"/>
48       
49       <metadata name="test-usersetting" brief="yes" setting="postproc"/>
50       <metadata name="test" setting="parameter"/>
51       <metadata name="test_usersetting_2" brief="yes"/>
52     </service>
53   </server>
54   
55   <targetprofiles type="local" src="../zeerex/records/"/>
56   
57 </pazpar2>
58 <!-- Keep this comment at the end of the file
59      Local variables:
60      mode: nxml
61      End:
62 -->