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