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