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