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 14:02:07.000000000 +0100
3 +++ mnogosearch-3.3.11/etc/indexer.conf-dist 2011-02-01 10:33: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 #LangMapFile langmap/en.ascii.lm
32 -#Include langmap.conf
36 #######################################################################
39 # Disallow document extensions that are not understood by default.
40 # Comment these lines if you have corresponding external parsers.
52 # Exclude some known extensions using fast "String" match:
53 Disallow *.b *.sh *.md5 *.rpm
55 # from_mime to_mime[charset] [command line [$1]]
57 #Mime application/msword "text/plain; charset=utf-8" "catdoc -a -dutf-8 $1"
58 -#Mime application/msword "text/html; charset=utf-8" "wvHtml --charset=utf-8 $1 -"
59 +Mime application/msword "text/html; charset=utf-8" "wvHtml --charset=utf-8 $1 -"
60 #Mime application/x-troff-man text/plain "deroff"
61 #Mime text/x-postscript text/plain "ps2ascii"
62 -#Mime application/pdf text/plain "pdftotext $1 -"
63 +Mime application/pdf text/html "pdftohtml -noframes -enc UTF-8 -i -stdout $1"
64 #Mime application/vnd.ms-excel text/plain "xls2csv $1"
65 -#Mime application/vnd.ms-excel text/html "xlhtml $1"
66 +Mime application/vnd.ms-excel "text/html; charset=utf-8" "xlhtml $1"
67 #Mime "text/rtf*" text/html "rthc --use-stdout $1 2>/dev/null"
68 #Mime "text/rtf*" text/xml "rtfx -w $1 2>/dev/null"
69 -#Mime "text/rtf*" text/html "unrtf --html $1"
70 -#Mime application/vnd.ms-powerpoint "text/html; charset=utf-8" "pptohtml $1"
71 +Mime "text/rtf*" text/html "unrtf --html $1"
72 +Mime application/vnd.ms-powerpoint "text/html; charset=utf-8" "ppthtml $1"
73 #Mime application/vnd.ms-powerpoint text/html "ppthtml $1"
77 # Default value is "path".
79 # To index whole server "localhost":
80 -#Server http://localhost/
81 +Server http://localhost/
83 # You can also specify some path to index subdirectory only:
84 #Server http://localhost/subdir/
85 diff -r -u mnogosearch-3.3.11.orig/etc/search.htm-dist mnogosearch-3.3.11/etc/search.htm-dist
86 --- mnogosearch-3.3.11.orig/etc/search.htm-dist 2011-01-27 16:10:07.000000000 +0100
87 +++ mnogosearch-3.3.11/etc/search.htm-dist 2011-02-01 09:50:26.000000000 +0100
91 # Format: <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/[?dbmode=mode]
92 -DBAddr mysql://root@localhost/test/?dbmode=blob
93 +DBAddr sqlite3://localhost/var/lib/mnogosearch/default.db/?dbmode=blob
95 # Uncomment this line to enable search result cache
98 # Default charset is iso-8859-1 (latin1)
99 # which is suitable for the most Western European languages
101 -LocalCharset iso-8859-1
102 -BrowserCharset iso-8859-1
104 +BrowserCharset utf-8
106 # Load stopwords file. File name is either absolute
107 # or relative to /etc directory of mnoGoSearch installation.
109 #StopwordFile stopwords/ru.sl
112 +Include langmap.conf
115 # Minimum and maximum word lengths