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