9158c474b7c73eba6b79127b9d3f0408d307dd1e
[idzebra-moved-to-github.git] / CHANGELOG
1
2 Added test for charmap and rusmarc.
3
4 Added feature charmaps (.chr) so that characters may be specified in
5 \LXXXX HEX notation.
6
7 Fixed problem with encoding directive for charmap(.chr) files.
8
9 --- 1.3.15 2004/01/15
10
11 Fix bug. X-Path attribute expressions with spaces in them now works.
12
13 Fix base address for MARC output.
14
15 --- 1.3.14 2003/11/29
16
17 Fix bug with shadow and result set handling.
18
19 Implement MARCXML to ISO2709 conversion.
20
21 --- 1.3.13 2003/09/26
22
23 Add missing examples for Windows install.
24
25 Fix bug in regx filter to make it "greedy" again. This bug appeared
26 in version 1.3.12.
27
28 Fix a few tests.
29
30 --- 1.3.12 2003/09/08
31
32 Fix XML error handling. Stop XML parse immediately if XML parse error
33 occur (i.e.  produce one error only).
34
35 Zebra ignores "unsupported use attribute" for individual databases
36 when search multiple databases (unless all databases fail).
37
38 New filter grs.marcxml which works like grs.marc but produces MARCXML.
39
40 Added support for database deletion. It is possible to create/drop
41 a database from zebraidx utility. Note: only for isam:b.
42
43 Write zebrasrv.pid to lockdir.
44
45 Bug fix: result sets were not recovered correctly. Had to
46 add ODR handle for zebra_search_RPN in order to make it work.
47
48 Fixed a bug in regx filters that didn't do anchors (^) correctly.
49
50 Fixed a bug in searches with X-Path searches sometimes giving "extra"
51 hits.
52
53 Zebra server checks for zebrasrv.pid and refuses to start if it is already
54 locked by another (running) zebrasrv.
55
56 Fixed a bug with text being chunked in pieces for the grs.xml filter.
57
58 --- 1.3.11 2003/04/25
59
60 xelm code updates. xelm works regardless state of 'xpath enable/disable'
61 Avoid -L/usr/lib since that is already default library path.
62
63 Allow multiple updates within one transaction.
64
65 Fixed a bug with >2GB files (overflow in integer expression).
66
67 --- 1.3.10 2003/04/01
68
69 Fix linker error for Perl module.
70
71 Fix bug in and operation which in some cases could result in "extra"
72 hits. Bug was introduced in 1.3.5.
73
74 Fix bug in handling of schema conversion when producing numeric tags.
75
76 --- 1.3.9 2003/03/27
77
78 Zvrank updates. 
79
80 Add missing files doc/zvrank.txt and doc/marc_indexing.xml.
81
82 --- 1.3.8 2003/03/26
83
84 Zvrank: an experimental ranking algorithm. See doc/zvrank.txt and
85 source in index/zvrank.c. Enable this by using rank: zvrank in zebra.cfg.
86 Contributed by Johannes Leveling <Johannes.Leveling at fernuni-hagen.de>
87
88 livrank: another experimental ranking algorithm. Source in livcode.c.
89 Enable this by using rank: livrank in zebra.cfg and use -DLIV_CODE=1
90 for CFLAGS.
91 Contributed by Pete Mallinson, University of Liverpool. 
92
93 Advanced MARC indexing. See doc/marc_indexing.xml
94  Oleg Kolobov <oleg at lib.tpu.ru>
95
96 Perl API updates and fixes. 
97  Peter Popovics <pop at technomat.hu>
98
99 Fixed 'zebraidx delete'.
100
101 Implemented 'zebraidx clean'.
102
103 64-bit offsets for register files on WIN32 (no 2 GB limit).
104
105 Fixed a few memory leaks WRT sorting.
106
107 --- 1.3.7 2003/02/27
108
109 Fixed error handling : error code was not properly returned.
110
111 Support Truncation 104 (CCL).
112
113 --- 1.3.6 2003/02/25
114
115 Added missing source files for perl extension.
116
117 --- 1.3.5 2003/02/23
118
119 Implemented xelm directive.
120
121 Updated for newer version of YAZ (introduction of string schema).
122
123 Directory examples/zthes now part of distribution (was missing
124 in previous release).
125
126 New .abs directive, systag, that control where to put retrieval
127 information. The directive takes two arguments: system tag, element name.
128 System tag is one of : rank, sysno, size.
129
130 --- 1.3.4 2002/11/26
131
132 Perl Filter and Perl API. By Peter Popovics.
133
134 For zebra.cfg, if no profilePath is specified, directory
135  (prefix)/share/idzebra/tab
136 is used.
137
138 Zebra Examples in examples . Zebra tests in test.
139
140 Bug fix: sort index was not properly modified on 
141 record updates/deletes.
142
143 Fix handling of character entities for sgml filter.
144
145 Move data1 to Zebra (used to be part of YAZ).
146
147 --- 1.3.3 2002/10/05
148
149 Fix character encoding of scan response terms.
150
151 Fix character decoding of scan request terms.
152
153 Fix ESpec handling (requires YAZ 1.9.1)
154
155 Fix searches for complete fields.
156
157 --- 1.3.2 2002/09/09
158
159 When name zebra is used in a filename or directory 'idzebra' is used
160 instead to avoid confusion with GNU zebra (routing software).
161
162 Zebra server stops with a fatal error if config file cannot be read.
163
164 New config setting, followLinks, that controls whether update of files
165 should follow symbolic. Set it to 1 (for enable) or 0 (to disable).
166 By default symbolic links are followed.
167
168 Fix MARC transfer . MARC fields had wrong data for multiple fields.
169
170 XML record reader moved from YAZ to Zebra, to make YAZ less 
171 dependant on external libraries.
172
173 Zebra uses yaz_iconv which is mini iconv library supporting UTF-8,
174 UCS4, ISO-8859-1. This means that Zebra does UNICODE even
175 on systems that doesn't offer iconv.
176
177 XML record reader supports external system entities.
178
179 --- 1.3.1 2002/08/20
180
181 New .abs-directive "xpath" that takes one argument: "enable"
182 or "disable" to enable and disable XPath -indexing. If no "xpath"
183 direcive is found in .abs-file , XPath-indexing is disabled to ensure
184 backwards compatibility. For missing .abs-files XPath-indexing is
185 enabled so that such records are searchable.
186
187 Zebra warns about missing .abs-file only once (for each type).
188
189 Fixed a bug in file update where already-inserted files could
190 be treated as "new".
191
192 --- 1.3.0 2002/08/05
193
194 Zebra license changed to GNU GPL.
195
196 XPath-like queries used when RPN string attributes are used, eg.
197    @attr 1=/portal/title sometitle
198    @attr 1=/portal/title[@xml:lang=da] danishtitle
199    @attr 1=/portal/title/@xml:lang da
200    @attr 1=//title sometitle
201
202 Zebra uses UTF-8 internally:
203 1) New setting "encoding" for zebra.cfg that specifies encoding for
204 OCTET terms in queries and record encoding for most transfer syntaxes
205 (except those that use International Strings, such as GRS-1).
206 2) The encoding of International strings is UTF-8 by default. It
207 may be changed by character set negotiation. If character set
208 negotiation is in effect and if records are selected for conversion
209 these'll be converted to the selected character set - thus overriding
210 the encoding setting in zebra.cfg.
211 3) New directive "encoding" in .abs-files. This specifies the external
212 character encoding for files indexed by zebra. However, if records
213 themselves have an XML header that specifies and encoding that'll be used
214 instead.
215
216 XML filter (-t grs.xml).
217
218 Multiple registers. New setting in resource 'root' that holds base
219 directory for register(s). A group a databases may be put in separate
220 register in directory root/reg by using db name 'reg/db1' ... 'reg/dbN'.
221
222 --- 1.1.1 2002/03/21
223
224 Fixes for Digital Unix
225
226 Implemented hits per term using USR:SearchResult-1.
227
228 New Zebra API. Locking system re-implemented.
229
230 --- 1.1.stable 2002/02/20
231
232 Rank weight can be controlled with attribute type 9. Default
233 value is 34. Recommended values between 1-36.
234
235 --- 1.1 2001/10/25
236
237 Updated for YAZ version 1.8.
238
239 Added support for termsets - a result set of terms matching
240 a given query. For @attr 8=<set> creates termset named <set>.
241
242 Added support for raw retrieval. Element Set Name R forces the
243 text filter which returns the record in its original form.
244
245 Added numerical sort - triggered by structure=numeric (4=109).
246
247 Remote record import using Z39.50 Extended Services and Segments.
248
249 Fixed bug where updating a database with user-defined attributes
250 could corrupt the register (bad storeKeys).
251
252 Multi-threaded version.
253
254 Fixed bug regarding proximity.
255
256 Documentation updates.
257
258 Fixed bug in record retrieval module that occured on 64-bit OSF 
259 architectures.
260
261 --- 1.0.1 2000/2/10
262
263 Fixed bug in makefile for WIN32.
264
265 Fixed bug in configure script - used bash-specific features.
266
267 --- 1.0 1999/12/10
268
269 Added support for multiple records in one file for filter grs.sgml.
270
271 Changed record index structure. New layout is incompatible with
272 previous releases. Added setting "recordcompression" to control
273 compression of records. Possible values are "none" (no
274 compression) and bzip2 (compression using libbz2).
275
276 Added XML transfer syntax support for retrieval of structured records.
277 Schema in CompSpec is recognised in retrieval of structured records.
278
279 Changed Tcl record filter so that it attemps to read  <filt>.tflt. If
280 that fails, the filter reads the file <filt>.flt (regx style filter).
281
282 Implemented new Tcl record filter -  use grs.tcl.<filter> to enable it.
283 Zebra's configure script automatically attempts to locate Tcl. For
284 manual Tcl configuration use option --with-tclconfig=<path> to specify
285 where Tcl's library files are located.
286
287 Implemented "compression" of Dictionary and ISAM system. Dictionary
288 format HAS changed.
289
290 Added "tagsysno" directive to zebra.cfg to control under which tag the
291 system ID is placed. Use tagsysno: 0 to disable Zebra's system number
292 entirely.
293
294 Added "tagrank" as above.
295
296 Changed file naming scheme for register files from <name>.mf.<no> to
297 <name>-<no>.mf.
298
299 Implemented "position"-flag for register type (as defined in
300 default.idx). When set to zero no position (or seqence number) is
301 saved in register for each word occurrence, thus saving some register
302 space.
303
304 Implemented database mapping. Using mapdb one can specify a database
305 to be mapped to one or more physical databases. Usage:
306 mapdb <fromdb> <todb> ..
307
308 Added SOIF-filter. Thanks to Peter Valkenburg.
309
310 For the regx-filter "end element -record" may trigger a mark-of-record
311 if outer level is reached.
312
313 Tag sets may be typed in the reference to it. From the .abs-file the
314 "tagset" directive takes a third optional integer type for the tag set
315 referenced. From a .tag-file the "include" directive takes a third
316 optional type as well. The old "type" directive in the tag set itself
317 is still recognized but acts as the default type for the tag set.
318  
319 Zebra supports the specification of arbitrary attributes sets, schemas
320 and tag sets, because of the change in YAZ' OID management system.
321
322 Fixed bug in Sort that caused it NOT to use character mapping as it
323 should.
324
325 Zebra now uses GNU configure to generate Makefile(s).
326
327 Added un-optimised support for left and left/right truncation attributes.
328
329 Added support for relational operators on text when using RPN queries.
330
331 Added support for sort specifications in RPN queries. Type 7 specifies
332 'sort' where value 1=ascending, value 2=descending. The use attribute
333 specifies the field criteria as usual.  The term specifies priority
334 where 0=first, 1=second, ...
335
336 Changed the way use attributes are specified in the recordId
337 specification.
338
339 Maximum number of databases in one Zebra register increased.
340
341 New setting, databasePath, which specifies that first directory during
342 update traversal is the database name (instead of a fixed one).
343
344 New setting, explainDatabase, which specifies that databases are
345 EXPLAIN aware.
346
347 Modified Zebra so that it works with ASN.1 compiled code for YAZ.
348
349 Implemented EXPLAIN database maintenance. Zebra automatically
350 generate - and update CategoryList, TargetInfo, DatabaseInfo,
351 AttributeSetInfo and AttributeDetails records at this stage. The
352 records may be transferred as GRS-1, SUTRS or Explain.
353
354 Fixed register spec so that colon isn't treated as size separator
355 unless followed by [0-9+-] in order to allow DOS drive specifications.
356
357 Fixed two bugs in ISAMC system.
358
359 Changed the way Zebra keeps its maintenance information about attribute
360 sets, available attributes, etc.. Records in "SGML" notation using an
361 EXPLAIN schema is now used when appropriate.
362
363 Bug fix: Index didn't handle update/insert/delete of the same record
364 (i.e. same recordId) in one run (one invocation of zebraidx). Only the
365 first occurence of a record is considered.
366
367 Most searches now return correct number of hits.
368
369 New modular ranking system. Interested programmers are encouraged to
370 inspect rank1.c and improve the algorithm.
371
372 Bug fix: Lock files weren't removed as they should on NT.
373
374 Implemented Z39.50 Sort. Zebra's sort handler uses use attributes to
375 specify a "sort register". Refer to the gils sample records which refer
376 to index type "s" which is specified as "sort" in the default.idx file.
377 Each sort criteria can either be Ascending or Descending and at most
378 three sort elements can be specified.  
379
380 Bug fix: Character mapping didn't work for text files.
381
382 --- 1.0b1 1998/1/29
383
384 Simple ranked searches now return correct number of hits.
385
386 The test option (-s) only makes a read-lock on the index as well
387 as using read-only operations anywhere.
388
389 Moved towards generic character mapping. Configuration file default.idx
390 specifies character map files for register types w, p, u, etc.
391
392 Implemented "begin variant" for the sgml.regx - filter.
393
394 Fixed a few memory leaks.
395
396 Added support for C++, headers uses extern "C" for public definitions.
397
398 Bug fix: The show records facility (-s) only displayed information for
399 the first record in a file (and not for every record in the file).
400
401 Added option "-f <n>" to limit the logging of record operations. After
402 <n> records has been processed no logging is performed (unless errors
403 occur).
404
405 Bug fix: the compressed ISAM system didn't handle update operations
406 correctly.
407
408 Added setting, "maxResultSetSize", to hold the number of records to 
409 save in a result set.
410
411 Bug fix: Complete phrase did't work for search operations.
412
413 Bug fix: temporary result sets weren't deleted.
414
415 Reduced disk space for saved keys (storeKeys = 1).
416
417 Added optional, physical ANY (key replication)
418
419 Implemented proximity operator in search.
420
421 Bug fix: the path name buffers used by file match traversal routines
422 have been extended to support long file names.
423
424 New C(ompressed) ISAM system. To enable it, specify "isam: c" in the
425 configuration file. The resulting register without "storeKeys" is about
426 half the size, and the memory used by zebraidx during phase 2 (merge) is
427 reduced to a minimum.
428
429 Reworked the way Regexp-2 queries with error tolerance are handled and
430 specified. The documentation has been updated accordingly.
431
432 Bug fix: Zebrasrv didn't search correctly when queries contained masking
433 characters. This bug was introduced in 1.0a8.
434
435 Zebrasrv now tag records with the proper database name.
436
437 New settings, memMax and keyTmpDir.
438
439 Changed name of setting lockDir (previously called lockPath) and
440 setTmpDir (previously called tempSetPath).
441
442 Generalized and changed record type specifications. In short, there are:
443        text                plain SUTRS
444        grs.sgml            structured, "SGML-like" syntax
445        grs.regx.<filter>   structured, Regular expression filter
446        grs.marc.<abs>      Reads *MARC records in the ISO2709 format. <abs>
447                            is the name of an abstract syntax file.                           
448 Bug fix: Result sets weren't sorted in operations involving boolean
449 operations with "ranked" operands.
450
451 --- 1.0a8 1996/6/6
452
453 Added national character-handling subsystem.
454
455 Various fixes.
456
457 Small modifications to input filters and profiles.
458
459 Added support for SOIF syntax (with private OID).
460
461 --- 1.0a7 1996/5/16
462
463 Fixed buffer-size problem in indexing.
464
465 Added compression to temporary files for updating.
466
467 Added phrase registers.
468
469 Added dynamic mapping of search attribute to multiple termlists (ANY).
470
471 Scan support in multiple databases/registers.
472
473 Configuration settings are case-insensitive and single dash (-)
474 characters are ignored in comparisons.
475
476 The index processing ignores empty files - warning given.
477
478 New option to zebraidx (-V) displays version information.
479
480 --- 1.0a6 1996/2/24
481
482 Fixed problem in file-update system.
483
484 Fixed problem in shadow system; register was sometimes corrupted after
485 a commit operation.
486
487 --- 1.0a5 1996/2/10
488
489 Fixed problems in the ISAM subsystem. Caused difficulties when updating
490 existing registers.
491
492 Fixed small problem in SUTRS-filter. A newline was sometimes inserted before
493 the rank and record number.
494
495 Fixed bug in the isam subsystem - caused a malfunction when accessing
496 words which occurred more than 10000 times.
497
498 Distribution should now include YAZ (Z39.50 protocol stack) to simplify
499 installation.
500
501 Server can now run under inetd. Use option -i, and -w <directory> to
502 set working directory to desired location.
503
504 New zebraidx command: clean - removes temporary shadow files.
505
506 Fixed bug in ISAM system. Occurred rarely during register updates.
507
508 Logging during index merge phase is improved. The remaining running
509 time is estimated.
510
511 Temporary files generated by zebraidx are removed after each run.
512
513 Bug fix: Dictionary didn't handle 8-bit characters correctly; was obvious
514 when doing scan operations in dictionaries with European characters.
515
516 --- 1.0a4 1996/01/11
517
518 A whole slew of updates, to make the first publicized release. Get the doc
519 and check it out.
520
521 --- 1.0a3 1995/12/06
522
523 Memory-problems in ISAM fixed. More blocktypes added to the default setup
524 to increase performance on larger databases.
525
526 Various minor changes in data management system.
527
528 --- 1.0a2 1995/12/05
529
530 A couple of portability-problems resolved.
531
532 Changed some malloc() to xmalloc().
533
534 --- 1.0a1 1995/11/28
535
536 First release.