1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
|
History
-----------------
20 December 2000: 3.1.2.4
* Query language parser extended to correctly understand queries
like "(word1 & word2)(word3 & word4)"
* A bug in query language parser has bee fixed. The word 'NOT'
has not been recognized as boolean 'not' operator.
* "HLBeg" and "HLEnd" search.htm variable has been added.
By using it you can specify how to hilight the words founded.
HLBeg is prepended before the word. HLEnd is appended after
the word. Defaults are "<b>" and "</b>" to comply with previous
versions.
04 November 2000: 3.1.2.3
* A bug in mysql *multi modes has been fixed which caused incorrect
wordsinfo generation.
* New config.inc variable $lang_url_translation to enable
language files translation, for example url "path/file.en.ext"
will be translated into "path/file". This is suitable only when
using language content negotiation.
29 October 2000: 3.1.2.2
* A bug with lost tags in navigator links has been fixed
* A bug in boolean query language in OR queries which
appeared since 3.1.2.1 has been fixed.
28 October 2000: 3.1.2.1
* Project name changed to mnoGoSearch-php. For details please
look at out site http://search.mnogo.ru
* db_func API has been changed. Old function names are not
removed, but substituted by wrappers to new functions.
Since now db_func will be released as a separate product
called 'mnoGoSearch-db_func-php' also.
* A bug in query language parser which can cause empty results
on queryes like 'mydomain.de' has been fixed
* The ParseDocText has been extended to highlight stopwords also.
* New config.inc variable '$highlight_stopwords' added to turn
on or off stopwords highlighting in the search results.
* Query language parser extended to correctly understand queries
like "(word1 & word2) ~word3"
* Query language parser extended to correctly understand queries
like "(word1 word2) word3" and "word3 (word1 word2)"
* A bug with incorrect charset recoding with Russian Apache
has been fixed.
* Navigator maker has been changed not to include params containing
default values to its hrefs. This makes query string much shorter.
14 October 2000: 3.1.2.0
* Added ability to connect to MySQL and PostgreSQL
through the local unix socket. To do that you shound
leave dbhost field blank or set it to '_socket'.
For example you can use this: DBAddr mysql://udm:udm@/udm/
* Added language content negotiation feature. Thanks to
Craig Small <csmall@eye-net.com.au>. For details please
refer to doc/negotiation.txt
* $template_file variable moved from config.inc to
search.php to enable language content negotiation
and to use different search.php scripts with different
templates with the same .inc files.
* Added initial soundex support. Thanks for an idea to
artwells me@artwells.com.
* Added $SDX search template variable, which is substituted by
soundex search suggestions. Useful in <!--notfound--> template
section. Examples can be found in default templates.
* Added contrib directory to store additional tools and
scripts which extends UdmSearch-php features. Now it
contains soundex create scripts.
* Fixed bug in get_dict_tab function which prevents
using *dict32 tables at all.
* Changed package directory structure:
added doc, samples and src directories containing
some modified docs from udmsearch, template samples
and sources accordingly.
* GNU license added to package.
30 September 2000: 3.1.1.2
* Added additional words info for mysql bases only in
crc-multi and multi modes. Now it shows count of words
in the database. Thanx to Alex Barkov for idea.
* Fixed dropping temporary table bug while searching only
from stopword in *multi modes.
* New $DY template variable to display current document category.
* New $rus_bool_lang config.inc variable. (Default - 'no').
If set to 'yes' the query language is enchanced with russian
equivalents of 'and','or','not'.
* New $DE template variable. It displays description
when not empty and text overwise.
* New $SearchTime template variable. It cannot be used in
'top' template sestion.
* Default templates changed with examples with new variables
17 September 2000: 3.1.1.1
* Default templates categories section changed to include hidden
input field with $cat value.
* Boolean language parser changed to correctly work with queries
such as: "word1 ~word2".
* Added new search restriction by language. Default templates are
changed with examples.
* New search.php parameter $lang has beed added.
* "$lang" template variable to display current url language
restriction.
Modified Matthew Sullivan <matthew@netscape.com> patches:
* Debug info extended somewhere to include function names
* Get over the rand() bug in PHP 4 (this may have been fixed
in PHP 4 Patch 1).
* Remove query errors such as '(&' and '&|' operators.
02 September 2000: 3.1.1.0
* Nested categories support has been added.
* "$CP" template variable to display category path has been added.
* "$CS" template variable to display current category subtree has
been added.
* "cat" search.php parameter has been added to pass the category to
search through.
* "$cat" template variable to display current category ID.
* Default templates are extended with new features examples.
* Changed grep usage in IspellMode text to quote regexp.
* Extended $W (wordsinfo) capabilities to show all words that
we are looking for (useful when using ispell to see words
with their normal forms found)
* Many small changes in init code, navigator maker and
database initialization errors reporting.
26 July 2000: 3.1.0.2
* New advanced search options (time limits). You can search for
recent pages and so on the same as in udmsearch cgi frontend.
* Fixed bug in query parser which prevented right search on
queries contained special symbols.
* Tag restriction now tested with SQL LIKE operator now in
3.1+ db format. So you can use SQL metacharacters '_' and
'%' in search template to make search on group of tags.
22 July 2000: 3.1.0.1
* Added code to speed up search.php in crc* modes
under php-4.0.1 and later by using native crc32 function.
Php-4.0.1 and later determined automatically.
* Now search.php don't print noquery template section while
executed without any arguments.
16 July 2000: 3.1.0.0
* This is a first release that support new udmsearch 3.1.x
database structure.
* Added $db_format config.inc variable to switch between old
3.0 database and new.
* If Last_Modified time of document is not known, then print
'undefined' in res template
* Locale support extended to print localized date and time
for Last_Modified id using new 3.1 database
* Added Query tracking (same as in udmsearch 3.1.x) feature.
Also added TrackQuery config.inc variable to set default
value for TrackQuery and added TrackQuery template variable
to turn this feature on or off.
* Fixed minor bug when query contains single quotes.
* Added printing $g, $ul, $ue, $m, $o and $ps variables in
search template. Now you can place this variables anywhere
in template and it will be substituted with its current value.
* $g template variable has been improved to support
parameter $g(X). This displays a tag without X trailing
characters.
* $pn template variable added (it is substituted by $ps*$np)
11 July 2000: 3.0.4.4
* Version numeration changed. Now two major version numbers
are the same as corresponding udmsearch major version number.
No changes in source code.
08 July 2000: 3.4.4 maintenance release
* Corrected two deep serious bugs in ispell support.
* Query parser changes to not filter rare national charset symbols.
25 June 2000: 3.4.3
* Added and reniced ispell debug output
* <!--noquery--> template section added. It's printed
if user makes an empty search.
* <!--navleft_nop--> template section added. It's printed
in search navigator on the first page.
* <!--navright_nop--> template section added. It's printed
in search navigator on the last page.
* Minor changes in search navigator code.
* Stopwords detection function optimized to cache previous
calls results.
* Query maker changes to correct AND type queries, where
stopwords exists.
10 June 2000: 3.4.2
* $q template variable added to comply with udmsearch-3.0.18
This variable substituted with RFC-1738 encoded query. (Note
that $Q variable substituted by query as is).
10 June 2000: 3.4.1
* Reworked ispell code to use classes. Now boring parallel
arrays are eliminated.
* Changed exit routines to minimize "exit" calls.
Now you can use search routines in other script
by doing PHP inslude('search.php') syntax. Thanx
to many users who suggested this feature.
29 May 2000: 3.4
* search.php proved to be Microsoft Windows compatible
* ODBC mode added for all supported SQL backends
(MySQL,Oracle 7 and 8, PostgreSQL)
25 May 2000: 3.3.8.stable
* This is the first stable release of PHP frontend.
* $DEFAULT_QUERY_TYPE variable added to config.inc to
specify default query type (if no boolean operators found)
* Added <select name="m"> ... in search template and
$m template handler variable (such as in search.cgi) to
specify default query type in template. This option
has higher priority than $DEFAULT_QUERY_TYPE.
* Bugfixes in boolean language parser
20 May 2000: 3.3.7.RC1
* This is the primarily bugfix release intended to be
stable RC1. If there will be no bugs found in the
near future it will be renamed to 3.3.8 stable version.
* Changes in query language:
1. "and" query operator now can be specified as "&",
"and", or "" (in russian)
2. "or" query operator now can be specified as "|",
"or", or "" (in russian)
3. "not" query operator now can be specified as "~",
"not", "without" or "","" (in russian)
* Bugfix in navigator with output format $o variable
* Search template and template functions extended to
support resstricted search by tag.
* Added RFC-1738 compatible url parameters encoding and
decoding where it is needed.
* Added stopwords reporting in wordsinfo ($W template
variable).
* Changed default templates <!--notfound--> section to
show stopwords information when query pduce no results.
14 May 2000: 3.3.6
* Bugfix in query maker with stopwords
13 May 2000: 3.3.5
* Light optimizations in queries sent to backend
* Bugfix in crc-multi mode with oracle backend
12 May 2000: 3.3.4
* Speed optimizations in ispell support
* Bugfixes with capital letters both in ispell mode and
without ispell support
* Added new config variable in config.inc: "LC_ALL" to
hardcode locale settings. If you want to get locale
settings from environment, then you sould not define it.
* Some fixes in locale support
03 May 2000: 3.3.3
* Bugfixes with error messages reporting
03 May 2000: 3.3.2
* Fixed bug with dropping temporary tables.
* configuration part of search.php3 moved to config.inc file
* intitialization part of search.php3 moved to init.inc file
* common functions part of search.php3 moved to common.inc file
03 May 2000: 3.3.1
* Fixed bug with ispell support in DB mode.
29 April 2000: 3.3
* Many major changes in query maker. Please use this version
carefully because of it is not fully tested yet.
* Added "crc-multi" storage mode support for all supported backends.
* Added "multi" storage mode support for mysql backend.
* in "*multi" modes with mysql 3.23.02 and newer search.php3
tries to use native TEMPORARY tables.
* Some bugfixes in query maker.
* Some bugfixes with working with temporary tables.
26 April 2000: 3.2.7
* "DBAddr" template variable has been added.
One may configure all database parameters at once:
"DBAddr mysql://user:passwd@hostname:port/database_name/".
Old style DBType, DBUser, DBPass, DBHost, DBPort, DBName commands
still supported, but can be removed in the next releases.
19 April 2000: 3.2.6
* Fixed bug with false clone url detection
* Added httpres and ftpres template sections to show
different result formats according to url protocol.
If ftpres or httpres not defined then res section will
be used by default.
17 April 2000: 3.2.5
* Added "Clones yes/no" variable in search template.
Default is "yes".
16 April 2000: 3.2.4
* Added output format $o variable in template.
Now you can specify different output formats for your
query by choosig appropiate option in listbox.
12 April 2000: 3.2.3
* Changed template parsing functions.
11 April 2000: 3.2.2
* Added found words highlighting by <b></b> html tags.
* Changed default query type from "OR" to "AND". This means that
if user make query with several words separated by spaces
then script assumes "AND" query logic.
* Fixed bug if someone makes query consisting of stopwords.
9 April 2000: 3.2.1
* Added $IF(filename.ext) template macro. This macro replaces
itself with the specified file.
8 April 2000: 3.2
* Added "crc" storage mode support. This mode allows to reduce
required disc space as well as speed up search.
5 April 2000: 3.1.2
* Added Oracle7 backend support both in single and multidict mode
( used patch from Roman V. Petrov poma@mail.ru )
7 March 2000: 3.1.1
* Added ispell support (plain text files mode).
3 March 2000: 3.1
* Added ispell support (database mode).
23 February 2000: 3.0.2
* Added <ue> template variable. This is an url exclusion string.
Makes script to search only urls, which don't contain this string.
* Several bug fixes and minor optimizations.
17 February 2000: 3.0.1
* PostgreSQL backend support both in single and multidict mode
* Several bug fixes.
05 February 2000: 3.0.0
* First public release
|