Add a display rule to the icu, so we get a display term, for facet
authorHeikki Levanto <heikki@indexdata.dk>
Fri, 17 Jul 2015 11:37:57 +0000 (13:37 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Fri, 17 Jul 2015 11:37:57 +0000 (13:37 +0200)
test/paz_1009.cfg

index 3bf45ce..a4df1e2 100644 (file)
@@ -4,14 +4,14 @@
   <server>
     <listen port="9763"/>
     
-    <!-- same as hardcoded rule -->
     <icu_chain id="facet" locale="en">
       <transliterate>[[:WhiteSpace:][,.!;]]* } [$] > ;</transliterate>
+      <display/>
     </icu_chain>
 
     <service>
-      <metadata name="publisher" termlist="yes"/>      
-      <metadata name="series" termlist="yes"/>      
+      <metadata name="publisher" termlist="yes"/>
+      <metadata name="series" termlist="yes"/>
 
       <metadata name="url" merge="unique"/>
       <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />