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