"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1
2 History
3 -----------------
4
5 17 Jul 2005 3.2.11:
6 * A bug in word highlighting code was fixes.
7 Thanks to <zimmer62 at egr.msu.edu>.
8
9 17 Apr 2005 3.2.10:
10 * Misspelled search word suggestion were added. If
11 a search query didn't return any results,
12 a "Did you mean: similar query" link is displayed.
13 To start using this feature, one needs to run
14 "indexer -Ewordstat" once after indexing, as well as
15 add "Suggest yes" into search.htm. This feature will
16 work with mnogosearch-3.2.33 or later.
17
18 13 Feb 2005 3.2.9:
19 * A bug in Alias command processing code was fixed.
20
21 23 Jan 2005 3.2.8:
22 * A bug while freeing ispell data twice was fixed.
23 This bug prevent crashes with mnogosearch-3.2.28+
24
25 14 Nov 2004 3.2.7:
26 * A bug while using CachedCopy feature with multiple
27 DBAddr was fixed. Requires mnogosearch-php-extension-1.92+
28
29 07 Nov 2004 3.2.6:
30 * Fixed compatibility issue with mnogosearch-3.2.23+.
31 CachedCopy feature was not work with mnohosearch-3.2.23+.
32
33 08 May 2004 3.2.5:
34 * Ability to show document cached copies without stored daemon support.
35 (requires mnogosearch-3.2.16+)
36 * Ability to check if CachedCopy of document is available
37 in database was added (requires mnogosearch-3.2.16+)
38 * $(PerSite) template variable was added to show Number of results
39 in a site group.
40 * Search template updated.
41
42 25 Jan 2004: 3.2.4
43 * Ability to print any document section variable from
44 templates, like in search.cgi was added.
45 The valid syntax is $(variable). For example to print document
46 body you can use old variable $DX or the new one $(Body).
47 * Search template was changed according to thingol@mail.ru
48 propositions to make stored results always show
49 * README updated to clear installation problems with PHP CGI
50
51 08 Nov 2003: 3.2.3
52 * ExcerptSize and ExcerptPadding commands were added to
53 accomodate mnogosearch-3.2.16+ features.
54 * Query Tracking was fixed (if used with mnogosearch-3.2.15+).
55 * Search template updated.
56
57 21 Sep 2003: 3.2.2
58 * Some compatibility issues fixed.
59
60
61 06 Sep 2003: 3.2.1
62 * A support for mnogosearch-php-extension-1.82 was added
63 * A support for mnogosearch-3.2.15 was added
64 * Search can now order results by relevancy, popularity, date.
65 An option to choose results ordering was added into search.htm-dist.
66 * ResultsLimit command added to reduce maximum nuber of results.
67 * Default search template updated to incorporate new features
68 * A bug in tags processing was fixed
69 * A bug with queries containing quotes was fixed
70 * Other minor bugfixes
71
72
73 19 May 2003: 3.2.0
74 * A support for mnogosearch-php-extension-1.73 has been added
75 * A support for mnogosearch-3.2.11 has been added
76 * A support for multiple DBAddr feature has been added
77 * Several bugfixes
78
79
80 02 Jan 2003: 3.2.0.rc2
81 * A support for mnogosearch-php-extension-1.68 has been added
82 * Date limits support for mnogosearch-3.2.8+ has been added
83 (requires mnogosearch-php-extension-1.68)
84 * A new search template variable ExcerptSize has been added to
85 support setting amount of Excerpts. (default is 256 bytes)
86 (requires mnogosearch-php-extension-1.68)
87 * A new search template variable DateFormat has been added to
88 support changing format of LastModified document field.
89 (requires mnogosearch-php-extension-1.68)
90 * search template is updated
91
92
93 06 Oct 2002: 3.2.0.rc1
94 * This release has almost all features of search.cgi.
95 So it is the first release candidate for 3.2.x versions.
96 * Popularity rank support has been added. Requires
97 mnogosearch-3.2.7+ with php extension 1.66+
98 * A new Pop_Rank template variable has been added.
99 * Clones detection support has been added.
100 * New clones section at search template.
101 * A few bugs in page navigator and $sp an $sy variables
102 has been fixed.
103 * A serious bug in clones support has been fixed.
104
105
106 22 Sep 2002: 3.2.0.beta7
107 * <? tags changed to <?php to achive more xml compatybility
108 * Page navigator fixes to be GroupBySite compatible
109 * make 'More results from this server' link don't show while
110 browsing through exact site.
111 * New search CGI-parameters sp and sy added. To enable/disable
112 words forms (ispell) and synonyms in search results respectively.
113 * search template example updated
114
115 08 Sep 2002: 3.2.0.beta6
116 * Search limit by url.content_type added. See updated search
117 template for example.
118 (requires mnogosearch-3.2.7+ and mnogosearch php extension-1.65+)
119 * Migration to mnogosearch php extension-1.65+
120 * Grouping search results by sites added. A new search template
121 command GroupBySite has bees added. A new search template
122 section site_limit and variable $(SITELIMIT) has been added.
123 * $stored variable changed to $(stored_href) for compatibility with
124 search.cgi
125 * $(STORED) template variable has been added to display
126 link to storedoc.cgi
127 * If document has no title will show basename of URL instead
128 of 'No Title'. This if for pdf - like parsed documents while
129 external parsers returns no title
130 * Search template updated
131 * Some bugs were fixed
132 * Some code cleanups
133
134
135 04 Aug 2002: 3.2.0.beta5
136 * Now while used with "stored" can now return excerpts from document
137 around a place where search word is found. (requires
138 mnogosearch php extension version 1.63 or later and
139 mnogosearch-3.2.5 or later)
140 * Some minor bugfixes
141
142
143 01 Jul 2002: 3.2.0.beta4
144 * Updated to use latest mnogosearch-3.2.5+ features
145 * Separate DBMode command was removed. (if using with mnogo-3.2.5+)
146 * DBAddr command was extended to support this syntax:
147 DBAddr mysql://user:pass@host/dbname/?dbmode=multi
148 (if using with mnogo-3.2.5+)
149 * Removed "SearchdAddr hostname:port" template command.
150 Use "DBAddr searchd://hostame:port/" instead.
151 (if using with mnogo-3.2.5+)
152
153
154 09 Apr 2002: 3.2.0.beta3
155 * New "Alias" command in search.htm. It works like "Alias"
156 in indexer.conf but at a search time. Does not support regex
157 expressions.
158 * Make script does not require register_globals PHP setting.
159 * Search template updated.
160
161
162 20 Mar 2002: 3.2.0.beta2
163 * Full support of multiple URL limits feature has been added
164 Now <SELECT name=ul MULTIPLE> is supported.
165 * Support of multiple TAG limits feature has been added
166 * Support of multiple Language limits feature has been added
167 * Support of multiple categories limits feature has been added
168 (but notice that it is intended not to use with
169 <SELECT name=cat multiple>..., but only with multiple
170 categories in URL such as &cat=xxx&cat=yyy, or
171 in several hidden form parameters)
172 * Tag values are now passed using "tag" form variable so that
173 the variable meaning is more clean. Old "g" form variable does not
174 work anymore. This is done to force more compatibility with
175 search.cgi
176 * Default search template updated
177 * Some code clean-ups
178 * Some bugfixes
179
180 10 Dec 2001: 3.2.0.beta1
181 * Search daemon support has been added
182 * Synonyms support has been added
183 * Stored support has been added
184 * A new section <!--stored--> has been added to search template
185 * A new variable $(stored) has been added to search template
186 * Initial support of multiple URL limits feature has been added
187 * Some bugfixes
188
189 05 Nov 2001: 3.2.0.beta0
190 * It is the major update to support mnogosearch-3.2.x
191 To use mnogosearch-3.2 features you will need at least PHP-4.0.8+,
192 or latest PHP4 snapshots which can be downloaded
193 from http://snaps.php.net
194 * Currently not implemented:
195 Synonyms support, stored support, clones support
196 and searchd support
197 * New features:
198 Unicode support,
199 Words hilighting
200 * Some bugfixes
201
202 05 Jul 2001: 3.1.3.5
203 * A bug in categories stuff and php 4.0.6+ has been fixed.
204
205 25 Jun 2001: 3.1.3.4
206 * New VarDir variable in search template has been added.
207 Requires php-4.0.7+
208 * A bug with IspellPrefixes does not work has been fixed.
209 * Default search template updated.
210
211 23 May 2001: 3.1.3.3
212 * auto_wild feature has been added to simplify url
213 limit at the search template. If your
214 ul variable begins with 'http://','https://','news://' or
215 'ftp://' the auto wild feature automatically adds %
216 metacharacter only to the end. At the other case it
217 will add % both to the begin and to the end of ul.
218 * auto_wild config variable has been added. The default
219 value is 'yes'.
220 * A bug with switching search 'any' mode has been fixed
221 * Some minor template fixes
222
223 07 May 2001: 3.1.3.2
224 * A bugs in page navigator has been fixed.
225
226 03 May 2001: 3.1.3.1
227 * A bugs in ispell loading code has been fixed.
228 * Categories stuff support has been added to
229 display category path for search results and
230 browsing categories. Requires php-4.0.6+
231 * Udm agent allocation bug has been fixed.
232
233 21 April 2001: 3.1.3.0
234 * This is the new generation search frontend which uses
235 native php-4.0.5+ mnoGoSearch extension functions.
236 So this incredibly speedups script and greately improve
237 its possibilities.
238
239 18 February 2001: 3.1.2.5
240 * This is possible the last release in the stable branch 3.1.2
241 The next branch will be written to support new native php-4.0.5
242 mnoGoSearch extension functions.
243 * Query language parser extended to correctly understand queries
244 like "word ~ (word3 | word4)"
245 * $ndoc search template variable has been added to print
246 total number of documents in database.
247
248 20 December 2000: 3.1.2.4
249 * Query language parser extended to correctly understand queries
250 like "(word1 & word2)(word3 & word4)"
251 * A bug in query language parser has bee fixed. The word 'NOT'
252 has not been recognized as boolean 'not' operator.
253 * "HLBeg" and "HLEnd" search.htm variable has been added.
254 By using it you can specify how to hilight the words founded.
255 HLBeg is prepended before the word. HLEnd is appended after
256 the word. Defaults are "<b>" and "</b>" to comply with previous
257 versions.
258
259 04 November 2000: 3.1.2.3
260 * A bug in mysql *multi modes has been fixed which caused incorrect
261 wordsinfo generation.
262 * New config.inc variable $lang_url_translation to enable
263 language files translation, for example url "path/file.en.ext"
264 will be translated into "path/file". This is suitable only when
265 using language content negotiation.
266
267 29 October 2000: 3.1.2.2
268 * A bug with lost tags in navigator links has been fixed
269 * A bug in boolean query language in OR queries which
270 appeared since 3.1.2.1 has been fixed.
271
272
273 28 October 2000: 3.1.2.1
274 * Project name changed to mnoGoSearch-php. For details please
275 look at out site http://search.mnogo.ru
276 * db_func API has been changed. Old function names are not
277 removed, but substituted by wrappers to new functions.
278 Since now db_func will be released as a separate product
279 called 'mnoGoSearch-db_func-php' also.
280 * A bug in query language parser which can cause empty results
281 on queryes like 'mydomain.de' has been fixed
282 * The ParseDocText has been extended to highlight stopwords also.
283 * New config.inc variable '$highlight_stopwords' added to turn
284 on or off stopwords highlighting in the search results.
285 * Query language parser extended to correctly understand queries
286 like "(word1 & word2) ~word3"
287 * Query language parser extended to correctly understand queries
288 like "(word1 word2) word3" and "word3 (word1 word2)"
289 * A bug with incorrect charset recoding with Russian Apache
290 has been fixed.
291 * Navigator maker has been changed not to include params containing
292 default values to its hrefs. This makes query string much shorter.
293
294
295 14 October 2000: 3.1.2.0
296 * Added ability to connect to MySQL and PostgreSQL
297 through the local unix socket. To do that you shound
298 leave dbhost field blank or set it to '_socket'.
299 For example you can use this: DBAddr mysql://udm:udm@/udm/
300 * Added language content negotiation feature. Thanks to
301 Craig Small <csmall@eye-net.com.au>. For details please
302 refer to doc/negotiation.txt
303 * $template_file variable moved from config.inc to
304 search.php to enable language content negotiation
305 and to use different search.php scripts with different
306 templates with the same .inc files.
307 * Added initial soundex support. Thanks for an idea to
308 artwells me@artwells.com.
309 * Added $SDX search template variable, which is substituted by
310 soundex search suggestions. Useful in <!--notfound--> template
311 section. Examples can be found in default templates.
312 * Added contrib directory to store additional tools and
313 scripts which extends UdmSearch-php features. Now it
314 contains soundex create scripts.
315 * Fixed bug in get_dict_tab function which prevents
316 using *dict32 tables at all.
317 * Changed package directory structure:
318 added doc, samples and src directories containing
319 some modified docs from udmsearch, template samples
320 and sources accordingly.
321 * GNU license added to package.
322
323
324 30 September 2000: 3.1.1.2
325 * Added additional words info for mysql bases only in
326 crc-multi and multi modes. Now it shows count of words
327 in the database. Thanx to Alex Barkov for idea.
328 * Fixed dropping temporary table bug while searching only
329 from stopword in *multi modes.
330 * New $DY template variable to display current document category.
331 * New $rus_bool_lang config.inc variable. (Default - 'no').
332 If set to 'yes' the query language is enchanced with russian
333 equivalents of 'and','or','not'.
334 * New $DE template variable. It displays description
335 when not empty and text overwise.
336 * New $SearchTime template variable. It cannot be used in
337 'top' template sestion.
338 * Default templates changed with examples with new variables
339
340
341 17 September 2000: 3.1.1.1
342 * Default templates categories section changed to include hidden
343 input field with $cat value.
344 * Boolean language parser changed to correctly work with queries
345 such as: "word1 ~word2".
346 * Added new search restriction by language. Default templates are
347 changed with examples.
348 * New search.php parameter $lang has beed added.
349 * "$lang" template variable to display current url language
350 restriction.
351
352 Modified Matthew Sullivan <matthew@netscape.com> patches:
353
354 * Debug info extended somewhere to include function names
355 * Get over the rand() bug in PHP 4 (this may have been fixed
356 in PHP 4 Patch 1).
357 * Remove query errors such as '(&' and '&|' operators.
358
359 02 September 2000: 3.1.1.0
360 * Nested categories support has been added.
361 * "$CP" template variable to display category path has been added.
362 * "$CS" template variable to display current category subtree has
363 been added.
364 * "cat" search.php parameter has been added to pass the category to
365 search through.
366 * "$cat" template variable to display current category ID.
367 * Default templates are extended with new features examples.
368 * Changed grep usage in IspellMode text to quote regexp.
369 * Extended $W (wordsinfo) capabilities to show all words that
370 we are looking for (useful when using ispell to see words
371 with their normal forms found)
372 * Many small changes in init code, navigator maker and
373 database initialization errors reporting.
374
375
376 26 July 2000: 3.1.0.2
377 * New advanced search options (time limits). You can search for
378 recent pages and so on the same as in udmsearch cgi frontend.
379 * Fixed bug in query parser which prevented right search on
380 queries contained special symbols.
381 * Tag restriction now tested with SQL LIKE operator now in
382 3.1+ db format. So you can use SQL metacharacters '_' and
383 '%' in search template to make search on group of tags.
384
385
386 22 July 2000: 3.1.0.1
387 * Added code to speed up search.php in crc* modes
388 under php-4.0.1 and later by using native crc32 function.
389 Php-4.0.1 and later determined automatically.
390 * Now search.php don't print noquery template section while
391 executed without any arguments.
392
393
394 16 July 2000: 3.1.0.0
395 * This is a first release that support new udmsearch 3.1.x
396 database structure.
397 * Added $db_format config.inc variable to switch between old
398 3.0 database and new.
399 * If Last_Modified time of document is not known, then print
400 'undefined' in res template
401 * Locale support extended to print localized date and time
402 for Last_Modified id using new 3.1 database
403 * Added Query tracking (same as in udmsearch 3.1.x) feature.
404 Also added TrackQuery config.inc variable to set default
405 value for TrackQuery and added TrackQuery template variable
406 to turn this feature on or off.
407 * Fixed minor bug when query contains single quotes.
408 * Added printing $g, $ul, $ue, $m, $o and $ps variables in
409 search template. Now you can place this variables anywhere
410 in template and it will be substituted with its current value.
411 * $g template variable has been improved to support
412 parameter $g(X). This displays a tag without X trailing
413 characters.
414 * $pn template variable added (it is substituted by $ps*$np)
415
416
417 11 July 2000: 3.0.4.4
418 * Version numeration changed. Now two major version numbers
419 are the same as corresponding udmsearch major version number.
420 No changes in source code.
421
422
423 08 July 2000: 3.4.4 maintenance release
424 * Corrected two deep serious bugs in ispell support.
425 * Query parser changes to not filter rare national charset symbols.
426
427
428 25 June 2000: 3.4.3
429 * Added and reniced ispell debug output
430 * <!--noquery--> template section added. It's printed
431 if user makes an empty search.
432 * <!--navleft_nop--> template section added. It's printed
433 in search navigator on the first page.
434 * <!--navright_nop--> template section added. It's printed
435 in search navigator on the last page.
436 * Minor changes in search navigator code.
437 * Stopwords detection function optimized to cache previous
438 calls results.
439 * Query maker changes to correct AND type queries, where
440 stopwords exists.
441
442
443 10 June 2000: 3.4.2
444 * $q template variable added to comply with udmsearch-3.0.18
445 This variable substituted with RFC-1738 encoded query. (Note
446 that $Q variable substituted by query as is).
447
448
449 10 June 2000: 3.4.1
450 * Reworked ispell code to use classes. Now boring parallel
451 arrays are eliminated.
452 * Changed exit routines to minimize "exit" calls.
453 Now you can use search routines in other script
454 by doing PHP inslude('search.php') syntax. Thanx
455 to many users who suggested this feature.
456
457
458 29 May 2000: 3.4
459 * search.php proved to be Microsoft Windows compatible
460 * ODBC mode added for all supported SQL backends
461 (MySQL,Oracle 7 and 8, PostgreSQL)
462
463
464 25 May 2000: 3.3.8.stable
465 * This is the first stable release of PHP frontend.
466
467 * $DEFAULT_QUERY_TYPE variable added to config.inc to
468 specify default query type (if no boolean operators found)
469 * Added <select name="m"> ... in search template and
470 $m template handler variable (such as in search.cgi) to
471 specify default query type in template. This option
472 has higher priority than $DEFAULT_QUERY_TYPE.
473 * Bugfixes in boolean language parser
474
475
476 20 May 2000: 3.3.7.RC1
477 * This is the primarily bugfix release intended to be
478 stable RC1. If there will be no bugs found in the
479 near future it will be renamed to 3.3.8 stable version.
480
481 * Changes in query language:
482 1. "and" query operator now can be specified as "&",
483 "and", or "и" (in russian)
484 2. "or" query operator now can be specified as "|",
485 "or", or "или" (in russian)
486 3. "not" query operator now can be specified as "~",
487 "not", "without" or "не","без" (in russian)
488
489 * Bugfix in navigator with output format $o variable
490 * Search template and template functions extended to
491 support resstricted search by tag.
492 * Added RFC-1738 compatible url parameters encoding and
493 decoding where it is needed.
494 * Added stopwords reporting in wordsinfo ($W template
495 variable).
496 * Changed default templates <!--notfound--> section to
497 show stopwords information when query pduce no results.
498
499
500 14 May 2000: 3.3.6
501 * Bugfix in query maker with stopwords
502
503
504 13 May 2000: 3.3.5
505 * Light optimizations in queries sent to backend
506 * Bugfix in crc-multi mode with oracle backend
507
508
509 12 May 2000: 3.3.4
510 * Speed optimizations in ispell support
511 * Bugfixes with capital letters both in ispell mode and
512 without ispell support
513 * Added new config variable in config.inc: "LC_ALL" to
514 hardcode locale settings. If you want to get locale
515 settings from environment, then you sould not define it.
516 * Some fixes in locale support
517
518
519 03 May 2000: 3.3.3
520 * Bugfixes with error messages reporting
521
522
523 03 May 2000: 3.3.2
524 * Fixed bug with dropping temporary tables.
525 * configuration part of search.php3 moved to config.inc file
526 * intitialization part of search.php3 moved to init.inc file
527 * common functions part of search.php3 moved to common.inc file
528
529
530 03 May 2000: 3.3.1
531 * Fixed bug with ispell support in DB mode.
532
533
534 29 April 2000: 3.3
535 * Many major changes in query maker. Please use this version
536 carefully because of it is not fully tested yet.
537 * Added "crc-multi" storage mode support for all supported backends.
538 * Added "multi" storage mode support for mysql backend.
539 * in "*multi" modes with mysql 3.23.02 and newer search.php3
540 tries to use native TEMPORARY tables.
541 * Some bugfixes in query maker.
542 * Some bugfixes with working with temporary tables.
543
544
545 26 April 2000: 3.2.7
546 * "DBAddr" template variable has been added.
547 One may configure all database parameters at once:
548 "DBAddr mysql://user:passwd@hostname:port/database_name/".
549 Old style DBType, DBUser, DBPass, DBHost, DBPort, DBName commands
550 still supported, but can be removed in the next releases.
551
552
553 19 April 2000: 3.2.6
554
555 * Fixed bug with false clone url detection
556 * Added httpres and ftpres template sections to show
557 different result formats according to url protocol.
558 If ftpres or httpres not defined then res section will
559 be used by default.
560
561
562 17 April 2000: 3.2.5
563
564 * Added "Clones yes/no" variable in search template.
565 Default is "yes".
566
567
568 16 April 2000: 3.2.4
569
570 * Added output format $o variable in template.
571 Now you can specify different output formats for your
572 query by choosig appropiate option in listbox.
573
574
575 12 April 2000: 3.2.3
576
577 * Changed template parsing functions.
578
579
580 11 April 2000: 3.2.2
581
582 * Added found words highlighting by <b></b> html tags.
583 * Changed default query type from "OR" to "AND". This means that
584 if user make query with several words separated by spaces
585 then script assumes "AND" query logic.
586 * Fixed bug if someone makes query consisting of stopwords.
587
588
589 9 April 2000: 3.2.1
590
591 * Added $IF(filename.ext) template macro. This macro replaces
592 itself with the specified file.
593
594
595 8 April 2000: 3.2
596
597 * Added "crc" storage mode support. This mode allows to reduce
598 required disc space as well as speed up search.
599
600
601 5 April 2000: 3.1.2
602
603 * Added Oracle7 backend support both in single and multidict mode
604 ( used patch from Roman V. Petrov poma@mail.ru )
605
606 7 March 2000: 3.1.1
607
608 * Added ispell support (plain text files mode).
609
610 3 March 2000: 3.1
611
612 * Added ispell support (database mode).
613
614 23 February 2000: 3.0.2
615
616 * Added <ue> template variable. This is an url exclusion string.
617 Makes script to search only urls, which don't contain this string.
618 * Several bug fixes and minor optimizations.
619
620
621 17 February 2000: 3.0.1
622
623 * PostgreSQL backend support both in single and multidict mode
624 * Several bug fixes.
625
626 05 February 2000: 3.0.0
627 * First public release