/[corp]/mnogosearch/search.htm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /mnogosearch/search.htm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Mar 15 08:45:11 2001 UTC (23 years, 1 month ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
konfiguracija mnogosearch

1 <!--
2
3 This is default template file for mnoGoSearch 3.1
4 (C) 1999-2000, mnoGoSearch developers team <devel@mnogosearch.org>
5
6 Please rename to search.htm and edit as desired.
7 See doc/README.templates for detailed information.
8 You may want to keep the original file for future reference.
9
10 WARNING: Please keep the file chmod 600 to protect your passwords!
11
12 -->
13 <!--variables
14 # Database parameters are to be used with SQL backend
15 # and do not matter for built-in text files support
16 # Format: <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/
17 #DBAddr mysql://foo:bar@localhost/search/
18 DBAddr pgsql://dpavlin@portal.pliva.hr/corpsearch/
19
20 # Choose storage mode (see explanation in indexer.conf-dist):
21 #DBMode single
22 #DBMode multi
23 DBMode crc
24 #DBMode crc-multi
25 #DBMode cache
26
27 # Uncomment this line to enable query tracking facility
28 TrackQuery yes
29
30 # Uncomment this line to enable search result cache
31 #Cache yes
32
33 # Uncomment this line if you do not want to detect and show clones
34 #Clones no
35 # Local charset, use proper one:
36 #LocalCharset iso-8859-1
37 LocalCharset iso-8859-2
38 #LocalCharset iso-8859-4
39 #LocalCharset iso-8859-5
40 #LocalCharset iso-8859-7
41 #LocalCharset iso-8859-8
42 #LocalCharset iso-8859-9
43 #LocalCharset iso-8859-13
44 #LocalCharset koi8-r
45 #LocalCharset windows-1250
46 #LocalCharset windows-1251
47 #LocalCharset windows-1253
48 #LocalCharset windows-1254
49 #LocalCharset windows-1255
50 #LocalCharset windows-1256
51 #LocalCharset windows-1257
52 #LocalCharset cp866
53
54 #IspellUsePrefixes yes/no
55 # If enabled, indexer will use ispell prefixes, not only suffixes
56 # Default: no
57 # Load ispell data from database:
58 #IspellMode db
59 # or load ispell data from files:
60 #Affix en /usr/dict/en.aff
61 #Affix ru /usr/dict/ru.aff
62 #Spell en /usr/dict/en.dict
63 #Spell ru /usr/dict/ru.dict
64
65 # Uncomment if index was built with phrase support
66 #Phrase yes
67
68 # Load stopwords from file
69 #StopwordFile stopwords.txt
70
71 # Load stopwords from SQL table
72 StopwordTable stopword
73
74 # Word lengths
75 MinWordLength 1
76 MaxWordLength 32
77
78 # Hilight found word syntax.
79 # HLBeg is prepended before the word. Default is <b>
80 # HLEnd is appended after the word. Default is </b>
81 #HLBeg <font color="#905050">
82 #HLEnd </font>
83
84 -->
85
86 <!--top-->
87
88 <FORM METHOD=GET ACTION="$A">
89 <table order=1 width=100%>
90 <tr><td>
91 <BR>
92 Search for: <INPUT TYPE="text" NAME="q" SIZE=50 VALUE="$Q">
93 <INPUT TYPE="submit" VALUE="Search!"><BR>
94
95 Results per page:
96 <SELECT NAME="ps">
97 <OPTION VALUE="10" SELECTED="$ps">10
98 <OPTION VALUE="20" SELECTED="$ps">20
99 <OPTION VALUE="50" SELECTED="$ps">50
100 </SELECT>
101
102 Output format:
103 <SELECT NAME="o">
104 <OPTION VALUE="0" SELECTED="$o">Long
105 <OPTION VALUE="1" SELECTED="$o">Short
106 <OPTION VALUE="2" SELECTED="$o">URL
107 </SELECT>
108
109
110 Match:
111 <SELECT NAME="m">
112 <OPTION VALUE="all" SELECTED="$m">All
113 <OPTION VALUE="any" SELECTED="$m">Any
114 <OPTION VALUE="bool" SELECTED="$m">Boolean
115 <OPTION VALUE="phrase" SELECTED="$m">Full phrase
116 </SELECT>
117
118
119 Search for:
120 <SELECT NAME="wm">
121 <OPTION VALUE="wrd" SELECTED="$wm">Whole word
122 <OPTION VALUE="beg" SELECTED="$wm">Beginning
123 <OPTION VALUE="beg" SELECTED="$wm">Ending
124 <OPTION VALUE="sub" SELECTED="$wm">Substring
125 </SELECT>
126
127 <!-- Use this to limit URL match -->
128
129 <!--
130 through:
131 <SELECT NAME="ul">
132 <OPTION VALUE="" SELECTED="$ul">Entire site
133 <OPTION VALUE="/manual/" SELECTED="$ul">Manual
134 <OPTION VALUE="/products/" SELECTED="$ul">Products
135 <OPTION VALUE="/support/" SELECTED="$ul">Support
136 </SELECT>
137 -->
138
139 in:
140 <SELECT NAME="wf">
141 <OPTION VALUE="222210" SELECTED="$wf">all sections
142 <OPTION VALUE="220000" SELECTED="$wf">Description
143 <OPTION VALUE="202000" SELECTED="$wf">Keywords
144 <OPTION VALUE="200200" SELECTED="$wf">Title
145 <OPTION VALUE="200010" SELECTED="$wf">Body
146 </SELECT>
147
148
149 <!-- Uncomment this to limit database subsection by "tag" -->
150 <!-- Search through:
151 <SELECT NAME="t">
152 <OPTION VALUE="" SELECTED="$g">All sites
153 <OPTION VALUE="1" SELECTED="$g">Sport
154 <OPTION VALUE="2" SELECTED="$g">Technology
155 <OPTION VALUE="3" SELECTED="$g">Shopping
156 </SELECT> -->
157
158
159 </td></tr>
160 </table>
161 </form>
162 </center>
163 <!--/top-->
164
165
166
167
168
169 <!--restop-->
170 Search results: ($SearchTime sec)
171 <small>$W</small><HR>
172 Displaying documents $f-$l of total <B>$t</B> found.
173 <!--/restop-->
174 <!--res-->
175 <DL><DT>
176 <b>$DN.</b> <a href="$DU"><b>$DT</b></a> [<b>$DR</b>]<DD>
177 $DX...<BR>
178 <UL>
179 <li><A HREF="$DU">$DU</A> ($DC) $DM, $DS bytes
180 $CL
181 </UL>
182 </DL>
183 <!--/res-->
184 <!--resbot-->
185 <HR>
186 <CENTER>
187 $V
188 </CENTER>
189 <!--/resbot-->
190
191
192
193
194
195 <!--restop-->
196 Search results:
197 <small>$W</small><HR>
198 Displaying documents $f-$l of total <B>$t</B> found.
199 <!--/restop-->
200 <!--res-->
201 <DL><DT>
202 <b>$DN.</b> <a href="$DU"><b>&nbsp; $DT</b></a> [<b>$DR</b>]<DD>
203 </DL>
204 <!--/res-->
205 <!--resbot-->
206 <HR>
207 <CENTER>
208 $V
209 </CENTER>
210 <!--/resbot-->
211
212
213
214 <!--restop-->
215 Search results:
216 <small>$W</small><HR>
217 Displaying documents $f-$l of total <B>$t</B> found.
218 <!--/restop-->
219 <!--res-->
220 <DL><DT>
221 <b>$DN.</b> <a href="$DU"><b>$DU</b></a> [<b>$DR</b>]<DD>
222 </DL>
223 <!--/res-->
224 <!--resbot-->
225 <HR>
226 <CENTER>
227 $V
228 </CENTER>
229 <!--/resbot-->
230
231
232
233
234 <!--clone-->
235 <li><A HREF="$DU">$DU</A> ($DC) $DM
236 <!--/clone-->
237
238 <!--navigator-->
239 <TABLE BORDER=0><TR>$NL $NB $NR</TR></TABLE>
240 <!--/navigator-->
241
242 <!--navleft-->
243 <TD><A HREF="$NH">&lt;&lt; Prev</A></TD>
244 <!--/navleft-->
245
246 <!--navleft_nop-->
247 <TD><FONT COLOR=gray>&lt;&lt; Prev</FONT></TD>
248 <!--/navleft_nop-->
249
250 <!--navbar1-->
251 <TD><A HREF="$NH">$NP</A></TD>
252 <!--/navbar1-->
253
254 <!--navbar0-->
255 <TD>$NP</TD>
256 <!--/navbar0-->
257
258 <!--navright-->
259 <TD><A HREF="$NH">Next &gt;&gt;</TD>
260 <!--/navright-->
261
262 <!--navright_nop-->
263 <TD><FONT COLOR=gray>Next &gt;&gt;</FONT></TD>
264 <!--navright_nop-->
265
266 <!--notfound-->
267 Search results:
268 <small>$W</small><HR>
269 <CENTER>
270 Sorry, but search returned no results.<P>
271 <I>Try to compose less restrictive search query or check spelling.</I>
272 </CENTER>
273 <HR>
274 <!--/notfound-->
275
276 <!--noquery-->
277 <CENTER>
278 You haven't typed any word(s) to search for.
279 </CENTER>
280 <HR>
281 <!--/noquery-->
282
283 <!--error-->
284 <CENTER>
285 <FONT COLOR="#FF0000">An error occured!</FONT>
286 <P><B>$E</B>
287 </CENTER>
288 <!--/error-->
289
290 <!--bottom-->
291 <!--/bottom-->

  ViewVC Help
Powered by ViewVC 1.1.26