fix mem_lookup with values which include characters which can be interpreted as regexes
[webpac] / global.conf
index 7474a45..485fee7 100644 (file)
        # display progress bar indicator (default is no)
        show_progress=1
 
-       # optional alternative Text::Unaccent filter
-       unac_filter = /data/webpac-hidra/filter/unac_string_croatian.pm
+       # Filter characters before feeding them to swish. If you don't use
+       # this file, implementation will fall-back to passing through
+       # original charset, and if you have anything other than plain
+       # 7-bit ascii in your data, your words will end-up splitted in
+       # index on 8-bit characters and you won't be able to find them!
+       my_unac_filter = /data/webpac/my_unac_string.pm
 
 [webpac]
        # path to template html files
        template_html = /data/webpac/template_html
        # charset encoding for template file *and* users (default iso-8859-1)
        charset = ISO-8859-2
+       # locale to use (for sorting, uc/lc) (default hr_HR)
+       locale = hr_HR
        # path to swish binary (default /usr/bin/swish-e)
        swish = /usr/bin/swish-e
        # path to index file