1 |
dpavlin |
1.1 |
# swish-e config file |
2 |
|
|
|
3 |
|
|
# |
4 |
|
|
# what to index? |
5 |
|
|
# |
6 |
|
|
|
7 |
|
|
# -S fs |
8 |
|
|
#IndexDir /home/dpavlin/nn/swish/out.xml |
9 |
|
|
# -S prog |
10 |
|
|
IndexDir /home/dpavlin/nn/swish/html2xml.pl |
11 |
dpavlin |
1.3 |
# debug, limit just to year 2002 |
12 |
|
|
#SwishProgParameters -l 2002 |
13 |
dpavlin |
1.4 |
# don't output html2xml progress. |
14 |
|
|
SwishProgParameters -q |
15 |
|
|
|
16 |
dpavlin |
1.1 |
|
17 |
|
|
# input file definition |
18 |
|
|
DefaultContents XML2 |
19 |
dpavlin |
1.3 |
MetaNames xml nn naslov_czs naslov aname |
20 |
|
|
PropertyNames nn br god nr |
21 |
|
|
#MetaNames xml nn br god nr aname naslov naslov_czs |
22 |
dpavlin |
1.1 |
|
23 |
dpavlin |
1.2 |
#MetaNameAlias naslov title |
24 |
|
|
PropertyNameAlias swishtitle naslov |
25 |
|
|
|
26 |
dpavlin |
1.1 |
MetaNamesRank -5 aname |
27 |
|
|
MetaNamesRank -4 nr |
28 |
|
|
MetaNamesRank 0 god |
29 |
|
|
MetaNamesRank 1 br |
30 |
|
|
MetaNamesRank 2 naslov_czs |
31 |
|
|
MetaNamesRank 3 naslov |
32 |
|
|
|
33 |
|
|
UndefinedMetaTags error |
34 |
|
|
UndefinedXMLAttributes error |
35 |
|
|
|
36 |
|
|
# |
37 |
|
|
# index description |
38 |
|
|
# |
39 |
|
|
|
40 |
|
|
IndexFile /home/dpavlin/nn/swish/nn.index |
41 |
|
|
|
42 |
|
|
IndexName "Narodne novine" |
43 |
|
|
IndexDescription "Naslovi zakona u narodnim novinama" |
44 |
|
|
IndexPointer "http://nn.rot13.org/" |
45 |
|
|
IndexAdmin "dpavlin@rot13.org" |
46 |
|
|
|
47 |
|
|
|
48 |
|
|
# Enable alternate search syntax. |
49 |
|
|
# This means a search query can contain ``+'' and ``-'' as syntax parameter. |
50 |
|
|
|
51 |
dpavlin |
1.5 |
#EnableAltSearchSyntax yes |
52 |
dpavlin |
1.1 |
|
53 |
|
|
|
54 |
|
|
# |
55 |
|
|
# localization |
56 |
|
|
# |
57 |
|
|
|
58 |
|
|
# Translate and/or/not operators |
59 |
|
|
#SwishSearchOperators i ili bez |
60 |
|
|
|
61 |
|
|
# Default operator (and) |
62 |
|
|
#SwishSearchDefaultRule i |
63 |
|
|
|
64 |
|
|
|
65 |
|
|
# |
66 |
|
|
# debug |
67 |
|
|
# |
68 |
|
|
|
69 |
|
|
#ParserWarnLevel 3 |
70 |
|
|
#IndexReport 2 |