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