1 diff -r -u mnogosearch-3.3.11.orig/etc/indexer.conf-dist mnogosearch-3.3.11/etc/indexer.conf-dist
2 --- mnogosearch-3.3.11.orig/etc/indexer.conf-dist 2011-01-31 11:06:27.000000000 +0100
3 +++ mnogosearch-3.3.11/etc/indexer.conf-dist 2011-01-31 11:15:30.000000000 +0100
5 -#!/usr/local/mnogosearch/sbin/indexer -d
8 ###########################################################################
9 # This is a sample indexer config file.
11 # then PostgreSQL will not work via TCP, but will use Unix socket.
14 -DBAddr mysql://root@localhost/test/?dbmode=blob
15 +DBAddr sqlite3://localhost/var/lib/mnogosearch/default.db/?dbmode=blob
20 #LocalCharset Shift-JIS
26 #######################################################################
27 #ForceIISCharset1251 yes/no
30 #StopwordFile stopwords/en.sl
32 -#Include stopwords.conf
33 +Include stopwords.conf
36 ###########################################################################
39 #LangMapFile langmap/en.ascii.lm
41 -#Include langmap.conf
45 #######################################################################
48 # Disallow document extensions that are not understood by default.
49 # Comment these lines if you have corresponding external parsers.
61 # Exclude some known extensions using fast "String" match:
62 Disallow *.b *.sh *.md5 *.rpm
64 # from_mime to_mime[charset] [command line [$1]]
66 #Mime application/msword "text/plain; charset=utf-8" "catdoc -a -dutf-8 $1"
67 -#Mime application/msword "text/html; charset=utf-8" "wvHtml --charset=utf-8 $1 -"
68 +Mime application/msword "text/html; charset=utf-8" "wvHtml --charset=utf-8 $1 -"
69 #Mime application/x-troff-man text/plain "deroff"
70 #Mime text/x-postscript text/plain "ps2ascii"
71 -#Mime application/pdf text/plain "pdftotext $1 -"
72 +Mime application/pdf "text/plain; charset=utf-8" "pdftotext $1 -"
73 #Mime application/vnd.ms-excel text/plain "xls2csv $1"
74 -#Mime application/vnd.ms-excel text/html "xlhtml $1"
75 +Mime application/vnd.ms-excel "text/html; charset=utf-8" "xlhtml $1"
76 #Mime "text/rtf*" text/html "rthc --use-stdout $1 2>/dev/null"
77 #Mime "text/rtf*" text/xml "rtfx -w $1 2>/dev/null"
78 -#Mime "text/rtf*" text/html "unrtf --html $1"
79 -#Mime application/vnd.ms-powerpoint "text/html; charset=utf-8" "pptohtml $1"
80 +Mime "text/rtf*" "text/html; charset=utf-8" "unrtf --html $1"
81 +Mime application/vnd.ms-powerpoint "text/html; charset=utf-8" "ppthtml $1"
82 #Mime application/vnd.ms-powerpoint text/html "ppthtml $1"
86 # Default value is "path".
88 # To index whole server "localhost":
89 -#Server http://localhost/
90 +Server http://localhost/
92 # You can also specify some path to index subdirectory only:
93 #Server http://localhost/subdir/
94 diff -r -u mnogosearch-3.3.11.orig/etc/search.htm-dist mnogosearch-3.3.11/etc/search.htm-dist
95 --- mnogosearch-3.3.11.orig/etc/search.htm-dist 2011-01-27 16:10:07.000000000 +0100
96 +++ mnogosearch-3.3.11/etc/search.htm-dist 2011-01-31 11:17:04.000000000 +0100
100 # Format: <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/[?dbmode=mode]
101 -DBAddr mysql://root@localhost/test/?dbmode=blob
102 +DBAddr sqlite3://localhost/var/lib/mnogosearch/default.db/?dbmode=blob
104 # Uncomment this line to enable search result cache
107 # Default charset is iso-8859-1 (latin1)
108 # which is suitable for the most Western European languages
110 -LocalCharset iso-8859-1
111 -BrowserCharset iso-8859-1
113 +BrowserCharset utf-8
115 # Load stopwords file. File name is either absolute
116 # or relative to /etc directory of mnoGoSearch installation.