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