normalize_record: missing else
[pazpar2-moved-to-github.git] / etc / server.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
3
4   <threads number="0"/> <!-- non-zero to enable threaded operation -->
5   <server>
6     <listen port="8004"/>
7
8     <!-- character set mapping.. This can be overriden in services -->
9     <icu_chain id="relevance" locale="en">
10       <transform rule="[:Control:] Any-Remove"/>
11       <tokenize rule="l"/>
12       <transform rule="[[:WhiteSpace:][:Punctuation:]`] Remove"/>
13       <casemap rule="l"/>
14     </icu_chain>
15     
16     <icu_chain id="sort" locale="en">
17       <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]`] Remove"/>
18       <casemap rule="l"/>
19     </icu_chain>
20     
21     <icu_chain id="mergekey" locale="en">
22       <tokenize rule="l"/>
23       <transform rule="[[:Control:][:WhiteSpace:][:Punctuation:]`] Remove"/>
24       <casemap rule="l"/>
25     </icu_chain>
26
27     <!-- default rule if not facetrule is defined on meta-data element -->
28     <icu_chain id="facet" locale="en">
29       <transliterate>[[:WhiteSpace:][,.-]]* } [$] > ;</transliterate>
30     </icu_chain>
31     
32     <!-- Specific facet rule -->
33     <icu_chain id="facet-subject" locale="en">
34       <transliterate>[[:WhiteSpace:][,.-]]* } [$] > ;</transliterate>
35     </icu_chain>
36
37     <include src="services-enabled/*.xml"/>
38
39   </server>
40   
41 </pazpar2>
42 <!-- Keep this comment at the end of the file
43      Local variables:
44      mode: nxml
45      End:
46 -->
47