2 |
|
|
3 |
[global] |
[global] |
4 |
# define database to use for indexes |
# define database to use for indexes |
5 |
dbi_dbd=Pg |
# dbi_dbd=Pg |
6 |
dbi_dsn=dbname=webpac |
# dbi_dsn=dbname=webpac-dev |
7 |
|
|
8 |
|
dbi_dbd=SQLite |
9 |
|
dbi_dsn=dbname=/data/webpac/index.sqlite |
10 |
|
|
11 |
dbi_user=dpavlin |
dbi_user=dpavlin |
12 |
dbi_passwd=xx |
dbi_passwd="" |
13 |
|
|
14 |
|
# display progress bar indicator (default is no) |
15 |
|
show_progress=1 |
16 |
|
|
17 |
[webpac] |
[webpac] |
18 |
# path to template html files |
# path to template html files |
22 |
# path to swish binary (default /usr/bin/swish-e) |
# path to swish binary (default /usr/bin/swish-e) |
23 |
swish = /usr/bin/swish-e |
swish = /usr/bin/swish-e |
24 |
# path to index file |
# path to index file |
25 |
index = /data/webpac/index/isis.index |
index = /data/webpac/index/webpac.index |
26 |
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
# this is hard-coded maximum hits for ALL user. (default 0=disable) |
27 |
max_hits = 0 |
max_hits = 0 |
28 |
# number of results on each pager page (default 10) |
# number of results on each pager page (default 10) |
29 |
on_page = 30 |
on_page = 30 |
30 |
|
# Minimum number of characters which will be will suplemented by |
31 |
|
# wildcard * to find all words which begin with those letters, |
32 |
|
# This should be at least 1, so that queries with non-alpha characters |
33 |
|
# like "&" would work. However, larger values also make sense to produce |
34 |
|
# more relevant hits on words like "to", "at" etc. |
35 |
|
min_wildcard = 2 |
36 |
|
# master template which will be used to enable global design changes |
37 |
|
# (it will replace ##webpac## in this template with output of webpac) |
38 |
|
template = /data/webpac/public_html/template.html |
39 |
|
|