Similar to pazpar2.cfg.dist but with ICU stuff in it. Seems to
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 May 2007 11:10:26 +0000 (11:10 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 24 May 2007 11:10:26 +0000 (11:10 +0000)
work quite well at this time.

etc/pazpar2icu.cfg.dist [new file with mode: 0644]

diff --git a/etc/pazpar2icu.cfg.dist b/etc/pazpar2icu.cfg.dist
new file mode 100644 (file)
index 0000000..f3d84ad
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
+
+<server>
+  <listen port="9004"/>
+  <proxy host="localhost:80"/>
+  <settings src="../etc/settings"/>
+
+ <icu_chain id="el:word" locale="el">
+    <normalize rule="[:Control:] Any-Remove"/>
+    <tokenize rule="l"/>
+    <normalize rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
+    <!--    <display/> -->
+    <casemap rule="l"/>
+    <!-- <normalize rule="Lower"/> -->
+    <normal/>
+    <sort/>
+  </icu_chain>
+
+  <service>
+    <metadata name="url" merge="unique"/>
+    <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
+    <metadata name="isbn"/>
+    <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+           termlist="yes"/>
+    <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
+    <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+    <metadata name="id"/>
+    <metadata name="lccn" merge="unique"/>
+    <metadata name="description" merge="longest" rank="3"/>
+  </service>
+</server>
+
+<targetprofiles type="local" src="../zeerex/records/"/>
+
+</pazpar2>