changes to support UTF-8 encoding from
[webpac] / swish_isis.conf
index 8ac5d48..08d884f 100644 (file)
@@ -4,11 +4,13 @@
 # what to index?
 #
 
-# -S fs
-#IndexDir /home/dpavlin/nn/swish/out.xml
 # -S prog
-IndexDir ./isis2xml.pl
-# debug, limit just to year 2002
+#IndexDir ./all2xml.pl
+
+IndexDir /bin/cat
+#SwishProgParameters foo.xml
+#
+# debug, pass parametears
 #SwishProgParameters -l 2002
 # don't output html2xml progress.
 #SwishProgParameters -q
@@ -16,31 +18,37 @@ IndexDir ./isis2xml.pl
 
 # input file definition
 DefaultContents XML2
-MetaNames xml nn naslov_czs naslov aname
-PropertyNames nn br god nr 
-#MetaNames xml nn br god nr aname naslov naslov_czs
 
-#MetaNameAlias naslov title
-PropertyNameAlias swishtitle naslov
+# indexed metatags
+MetaNames xml swishdocpath
+
+# stored metatags
+PropertyNames html
 
-MetaNamesRank -5 aname
-MetaNamesRank -4 nr
-MetaNamesRank 0 god
-MetaNamesRank 1 br
-MetaNamesRank 2 naslov_czs
-MetaNamesRank 3 naslov
+#MetaNameAlias swishtitle title
+PropertyNameAlias swishtitle headline
+#PropertyNameAlias swishdefault title_display
+MetaNameAlias xml xml_swish
+
+#MetaNamesRank -4 publisher
+#MetaNamesRank 0 title.index
+#MetaNamesRank 1 author.index
 
 #UndefinedMetaTags error
 #UndefinedXMLAttributes error
 
+#XMLClassAttributes type
+UndefinedMetaTags auto
+UndefinedXMLAttributes auto
+
 #
 # index description
 #
 
-IndexFile ./swish_isis.index
+IndexFile ./index/webpac.index
 
-IndexName "isis"
-IndexDescription "data imported from isis"
+IndexName "webpac"
+IndexDescription "data imported to webpac"
 IndexPointer "http://webpac.sf.net/"
 IndexAdmin "dpavlin@rot13.org"
 
@@ -48,7 +56,8 @@ IndexAdmin "dpavlin@rot13.org"
 # Enable alternate search syntax.
 # This means a search query can contain ``+'' and ``-'' as syntax parameter.
 
-EnableAltSearchSyntax yes
+# this directive is removed in swish 2.4
+#EnableAltSearchSyntax yes
 
 
 #
@@ -66,5 +75,5 @@ EnableAltSearchSyntax yes
 # debug
 #
 
-#ParserWarnLevel 3
+ParserWarnLevel 3
 #IndexReport 2