X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=global.conf;h=48dffe15a85e2754daaf5f4bbfa251138a79e508;hb=46c4d4858331cf5f4e4bb0194123db6c0ce14b6c;hp=5ebb8c7ba098cb529997cd583d7dc21389a51878;hpb=76077f783df49173e4660ab14af81bea7d2e4eb6;p=webpac diff --git a/global.conf b/global.conf index 5ebb8c7..48dffe1 100644 --- a/global.conf +++ b/global.conf @@ -2,10 +2,20 @@ [global] # define database to use for indexes - dbi_dbd=Pg - dbi_dsn=dbname=webpac +# dbi_dbd=Pg +# dbi_dsn=dbname=webpac-dev + + dbi_dbd=SQLite + dbi_dsn=dbname=/data/webpac/index.sqlite + dbi_user=dpavlin - dbi_passwd=xx + dbi_passwd="" + + # display progress bar indicator (default is no) + show_progress=1 + + # optional alternative Text::Unaccent filter + unac_filter = /data/webpac/filter/unac_string_croatian.pm [webpac] # path to template html files @@ -15,9 +25,18 @@ # path to swish binary (default /usr/bin/swish-e) swish = /usr/bin/swish-e # path to index file - index = /data/webpac/index/isis.index + index = /data/webpac/index/webpac.index # this is hard-coded maximum hits for ALL user. (default 0=disable) max_hits = 0 # number of results on each pager page (default 10) on_page = 30 + # Minimum number of characters which will be will suplemented by + # wildcard * to find all words which begin with those letters, + # This should be at least 1, so that queries with non-alpha characters + # like "&" would work. However, larger values also make sense to produce + # more relevant hits on words like "to", "at" etc. + min_wildcard = 2 + # master template which will be used to enable global design changes + # (it will replace ##webpac## in this template with output of webpac) + template = /data/webpac/public_html/template.html