Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / NEWS
1 --- 2.0.61 2015/09/15
2
3 Upgrade to debhelper version 7
4 Not upgrading to version 9 now. It would move libraries and modules
5 to /usr/lib/{arch}.
6
7 Many documentation fixes. Thanks to David Crossley.
8
9 Build: Remove Debian squeeze. Add CentOS 7. Remove Ubuntu Saucy.
10 Add Ubuntu Vivid.
11
12 Fix modulePath for examples ZEB-665
13
14 Fix typo in path to oai-pmh example
15
16 --- 2.0.60 2015/02/06
17
18 Fix ICU phrase searches for terms split by ICU ZEB-664
19
20 Update Visual Studio nmake file for VS 2013.
21
22 --- 2.0.59 2014/04/17
23
24 Fix 0 ptr reference (crash) during search that occurred due to slightly
25 different behavior of YAZ 5.0.22 / YAZ 5.0.23.
26
27 --- 2.0.58 2014/03/06
28
29 Update OAI example README and allow Bib-1 attribute searches.
30
31 Fix ICU indexing test. The code was not really broken, but the test
32 program was.
33
34 --- 2.0.57 2014/02/28
35
36 Deb/RPM/Win Zebra packages uses libyaz5 (rather than libyaz4). This adds
37 SRU 2.0 support for Zebra.
38
39 --- 2.0.56 2013/11/04
40
41 Updates for YAZ 5. Zebra compiles fine with YAZ 4 still.
42
43 --- 2.0.55 2013/06/24
44
45 Addx + document zebraidx command "check", which checks consistency of
46 register.
47
48 Debian : idzebra-2.0-utils includes init.d script. Includes logrotate as
49 well. The zebrasrv init script listens on port 2100. At this time,
50 zebra.cfg, is not part of the package. Administrator must install or
51 modify $CONFIG to point to a working zebra.cfg.
52
53 RPM: idzebra-2.0 includes init.d script. Also includes logrotate. The
54 zebrasrv init script listens on port 2100 (IPv4 + IPv6). At this time,
55 zebra.cfg, is not part of the package. Administrator must install or
56 modify $CONFIG to point to a working zebra.cfg.
57
58 --- 2.0.54 2013/01/21
59
60 For mod_dom filter, allow type="adelete", which will not treat a failed
61 delete as an error (such as a record ID that do not exist already).
62
63 Log XML2/XSLT errors to yaz_log instead of stdout/stderr.
64
65 Relay \-character in non-regexp searches. Was treated as backslash
66 sequence before.
67
68 --- 2.0.53 2012/12/03
69
70 Improve hit estimate for or-searches (typically truncation)
71
72 Fix snippets for non-ICU / seqno not updated.
73
74 Replace key_compare_it with key_compare. This is because key_compare_it
75 throws exception on some CPUs with alignment constraints.
76
77 ICU: support @attr 5=2, @attr 5=3 in searches. (left truncation and
78 left+right truncation).
79
80 --- 2.0.52 2012/05/31
81
82 Fix problem in dictionary due to increase max size of term.
83
84 --- 2.0.51 2012/05/31
85
86 Fix buffer overrun for terms using ICU normalization.
87
88 Increase max size of indexing term from 256 to 512.
89
90 --- 2.0.50 2011/11/01
91
92 Fix a bug in zebra_begin_trans where Zebra could mark a transaction
93 complete when it actually failed. This could happen if register files
94 could not be opened.
95
96 --- 2.0.49 2011/09/02
97
98 Scan: allow preferred position > number + 1
99
100 Fix bug #4592: dict_scan misses
101
102 Fix snippets for complete fields, bug #4590. The
103 snippet_add_complete_fields (chr-system) now takes the indexing term
104 verbatim and makes that the display term.
105
106 --- 2.0.48 2011/06/28
107
108 Utility idebra-abs2dom part of distribution and deb+RPM packages.
109
110 Fix problem with scan and complete subfields (:p) . In some cases,
111 the display scan terms, would be invalid.
112
113 --- 2.0.47 2011/05/24
114
115 RPM: Store libraries in /usr/lib64 on 64-bit platforms.
116
117 Zebra honors SRU sortkeys. If used with YAZ 4.2.0 or later,
118 CQL sortby is honored as well.
119
120 Fix scan's handling of normalized terms. Some terms were incorrectly
121 ignored in the scan results, CJK terms in particular.
122
123 --- 2.0.46 2011/03/23
124
125 Fix bug in dictionary component of Zebra that could lead to
126 inconsistent register assert for large deleteions.
127
128 Improve estimate hits for phrase searches.
129
130 --- 2.0.45 2010/12/22
131
132 Add Debian package for Ubuntu maverick.
133
134 Update to newer Libxml2/Libxslt for Windows package.
135
136 Escape-sequences are disabled for RPN-queries with truncation=105/106.
137 These, unlike regular expressions, do not support \-sequences .
138
139 --- 2.0.44 2010/06/29
140
141 grs1: avoid term_len < 0 for .abs operator 'range'
142
143 ICU: fix use of un-init variable.
144
145 More reasonable approx hits for truncated searches.
146
147 Updates WRT Odr_int (YAZ 4).
148
149 --- 2.0.43 2009/11/05
150
151 Fix hits counts for searches when @attr 12=n is in use. This bug
152 was introduced in 2.0.40.
153
154 --- 2.0.42 2009/10/08
155
156 Proximity modifications. The optimized proximity now deals with more
157 cases, ie all prox of the form @prox 0 d 1 1,2,3 k 2 ..
158 That's exlusive==0, any distance, ordered (true), relation (<, =, <=),
159 known unit word.
160
161 Fix bug WRT inconsistent registers, bug #3062.
162
163 Fix install doc rule so it's compatible with Automake 1.11.
164
165 --- 2.0.41 2009/08/24
166
167 Fix typos and other errors in the documentation. Thanks to Galen
168 Charlton.
169
170 Fix DOM filter so that full record ID (z:id) if given is used verbatim
171 rather than truncated until first blank - in other words use memcpy
172 rather than sscanf. For PI fix record attributes parsing which was
173 completely broken.
174
175 --- 2.0.40 2009/07/13
176
177 Fixed problem in result set handling and segment handling.
178
179 --- 2.0.39 2009/07/09
180
181 Improved speed of record fetching by using a different block sizes
182 for recd{A,B}.
183
184 Added zlib-compression of recd-storage (record data). This is enabled
185 by using recordCompression: zlib in zebra.cfg.
186
187 Dictionary delete more agressive (dict_del_string).
188
189 --- 2.0.38 2009/06/19
190
191 Improved estimated hits for AND operation (bug #2907)
192
193 Fixed problem with register area growing after "drop DB". (bug #2913).
194
195 --- 2.0.37 2009/05/18
196
197 Example with marc21 is now installed and part of packages.
198
199 Fixed XSL for OAI example.
200
201 Fixed problem with generic proximity handling.
202
203 Added new ranking handler: rank-2. This is a combination of rank-1 and
204 static rank.. The staticrank is inverse (lowest value comes first, etc..).
205 rank-2 thus substracts that from score. This allows a system to specify
206 a "base" rank (=staticrank).
207
208 --- 2.0.36 2009/02/17
209
210 Added implementation-codes directive for .mar files.
211
212 Avoid error for missing recordId when zebraidx' option -s is in use.
213
214 Fixed problem with some disk blocks not beeing freed correctly when
215 'drop database' is used.
216
217 --- 2.0.34 2008/11/06
218
219 Facets can now be performed on sort registers (:s), not just regular indexes
220 (:w, :p) etc.. The performance appers to be much better than before.
221
222 Added a facility to embed metadata for records generated by the DOM XML
223 filter. The meta data step is triggered by a 'process-meta' section in the
224 retrieve section of the dom config, e.g.
225   <retrieve name="myelementset">
226     <xslt stylesheet="my-usual.xsl"/>
227     <process-meta/>
228   </retrieve>
229 The meta section substitutes metadata for all elements called 'meta' in
230 namespace http://indexdata.com/zebra-2.0 . The meta element must have
231 exactly one attribute, name, which specifies the special
232 element set name which is equivalent to the suffix to zebra:: for
233 non-embedded special retrievals. This allows snippets, facets etc to be
234 included.
235
236 Fixed bug #2202: incorrect sorting order when searching multiple databases.
237
238 --- 2.0.32 2008/06/06
239
240 Fixed OAI example.
241
242 --- 2.0.30 2008/05/14
243
244 Changed service name for Windows. Bug #978.
245
246 Fixed the alwaysmatches including _ALLRECORDS for ICU term indexing. Bug #2139.
247
248 --- 2.0.28 2008/04/03
249
250 Handle right-truncation for ICU normalized terms.
251
252 Updated OAI-PMH example.
253
254 --- 2.0.26 2008/01/28 
255
256 Fixes for searches on Chinese text.
257
258 Fixes for scan using ICU indexing terms.
259
260 --- 2.0.24 2008/01/18 
261
262 Fixed some memory violations for ICU enabled indexing that could be
263 triggered by long phrases.
264
265 Enable ICU on Windows. Thanks to Tumer Garip for makefile patches.
266
267 Fixed bug #2002: Zebra crashes during merge using ICU indexing.
268
269 --- 2.0.22 2007/12/20
270
271 Handle encoding errors for strings passed to ICU. (assert was
272 thrown earlier).
273
274 Added zebraidx command, adelete, which attempts to delete records.
275 It's like 'delete', but does not fail if a record does not exist.
276
277 --- 2.0.20 2007/12/19
278
279 Added experimental support for faceted results. This is implemented
280 as a special retrieval on a result set and is triggered using element
281 set name zebra::facet::f1:t1,f2,t2,.. which will return terms and
282 hit counts for field f1, type t1, field f2, type t2, .. The returned
283 data is packed as XML or SUTRS depending on record syntax.
284
285 Added support for Unicode-based indexing using ICU. This allows
286 locale specific scanning, sorting. The implementation is based on
287 the ICU utility part of YAZ 3.0.16 and later. See the manual as well
288 as the examples/marcxml for an example of the use of ICU.
289
290 --- 2.0.18 2007/09/19
291
292 Fixed bug with scan and staticrank enabled. Bug introduced in 2.0.16.
293
294 --- 2.0.16 2007/09/12
295
296 Scan now returns a displayTerm which closer to the original word/phrase
297 from original record.
298
299 Added snippet support. Element set name zebra::snippet will make
300 Zebra return an XML record with snippets (terms around matching terms).
301
302 Fixed bug #1142: Non-indexed but listed attributes issues diagnostic.
303
304 Fixed bug #1131: Missing value-of data in DOM filter.
305
306 Fixed bug #1049: zebra.cfg lines with leading space are ignored.
307
308 Fixed bug #1128: sortmax not honored.
309
310 Fixed bug #1121: Crash for some searches with customized string.chr.
311
312 --- 2.0.14 2007/05/09
313
314 Zebra uses the YAZ 3 API. Note that this changes the Zebra API
315 as well. The register layout is the same however. 
316
317 Fixed bug #1114: scan within set may use excessive CPU.
318
319 Fixed memory leak that occurred in scan.
320
321 Fixed memory leak that occurred for each deleted record.
322
323 Optimize updates of records where content is almost identical to previous
324 version of record. This makes updating of the internal explain database
325 faster too.
326
327 For RPN queries the index type (w,p,..) may be specified verbatim as
328 structure attribute with string value, e.g. @attr 4=w .
329
330 Changed record update API . It is now handled by function
331 zebra_record_update which does insert/replace/delete/update of records .
332 This function replaces zebra_record_{insert,delete} and
333 zebra_admin_exchange_record. The DOM filter uses this feature and the
334 @type attribute in record element specifies the action
335 insert/replace/delete/update.
336
337 Added support for multi-record updates (Bug #944). Based on patch from
338 Hans-Werner Hilse.
339
340 --- 2.0.12 2007/03/07
341
342 Fixed bug with indexing of attributes for rec.grs-class of filters.
343 If X-Path was enabled xelm a/@b would be ignored.
344
345 Fixed bug in register system where 'no more space' messages was produced
346 even though there was plenty of space.
347
348 Fixed bug #884: Entity declarations in input are lost at retrieval time.
349
350 Implemented new filter 'dom'. See test/xslt/dom-config*xml for examples. 
351 This, like alvis, performs indexing and retrieval using XSLT. But Unlike
352 alvis, it allows multiple XSLT steps to be performed and does ISO2709
353 reading. Bug #843.
354
355 --- 2.0.10 2007/01/24
356
357 Staticrank indexing is now an index register type defined in default.idx
358 via directive 'staticrank'. The 'staticrank' directive for grs is no longer
359 supported (was only implemented for Zebra 2.0.8).
360
361 For searches, allow truncmax value to be controlled with attribute 13.
362 If given, that overrides the value of 'truncmax'.
363
364 For truncations being limited (abort at truncmax terms), zebrasrv returns
365 SearchResponse with resultSetStatus=subset.
366
367 For estimated hit counts, zebrasrv returns SearchResponse with 
368 resultSetStatus=estimate.
369
370 --- 2.0.8 2007/01/15
371
372 For searches, do not truncate more than at most 'truncmax' terms in one
373 single term with right-truncation/regular attribute. By default, 'truncmax',
374 is 10000.
375
376 Bug #781: Easier tracking of result sets. We only do this when mkstemp
377 is available (most moderun Unixes supports this). The PID is included
378 in filename : tempdir/zrs_PID_XXXXXX.
379
380 Added support for specification of staticrank for grs-class of filters.
381 This is enabled by using 'staticrank indexname' in .abs. Contents of
382 indexname (elm ... indexname:w) is then used as value for staticrank.
383
384 Implemented sorting via the ISAMB system. To enable, use sortindex:i in
385 zebra.cfg.
386
387 Added special retrieval support for sort keys. These keys can also be
388 fetched using zebra::index:field:s   
389
390 Added support for specification of approximative limits for whole query.
391 This is specified as attribute type 12. Semantics is the same as
392 estimatehits in zebra.cfg.
393
394 --- 2.0.6 2006/11/28
395
396 Fixed bug #736: Updates gets slower.
397
398 Fixed bug #735: Delete fails to process rest of file after a record that
399 does not exist,
400
401 Added RPM package for Zebra 2.
402
403 Improved indexing speed for large documents.
404
405 Added support for special utility retrieval zebra:: which offers retrieval
406 of fundamental properties for record, such as indexed terms, raw record,
407 and system record ID.
408
409 --- 2.0.4 2006/10/16
410
411 Fixed bug #47: Commit needs to check for roll-back.
412
413 Fixed bug #672: Trailing characters in password are ignored
414
415 Added extra presence check for tcl.h, because some systems have
416 tclConfig.sh installed even though Tcl C headers are missing.
417
418 Optimized melm performance.
419
420 Do not use sync(2) during commit (but rely on sync'd individual files).
421
422 Fixed bug in ISAMB's utility function decode_ptr. With gcc -O3 on some
423 platforms the src argument was not updated. Problem was compiler
424 optimization due to strict aliasing rules.
425
426 --- 2.0.2 2006/09/22
427
428 Bug fixes: #638, #647, #657, #669.
429
430 Implement skip of 0 hit counts in scan. Useful for scan operations
431 limited by a result set.
432
433 Honor position attribute, i.e. allow first-in-field search. To
434 enable this, "firstinfield 1" must be given for an index in
435 default.idx. Enabled in tab/default.idx for w. At this stage
436 first-in field is supported for phrase/and-list/or-list searches
437
438 Common stream reader interface for record filters (struct ZebraRecStream).
439
440 Debian package fix: packages idzebra-2.0 + libidzebra-2.0-modules did
441 not depend properly on sub packages.
442
443 --- 2.0.0 2006/08/14
444
445 New record filter (record type) 'alvis' which uses XSLT transformations
446 to drive both indexing as well as retrieval. See example configuration in the
447 'example/alvis-oai' directory.
448
449 'isamb' is now the default ISAM system. In Zebra 1.3, the default ISAM was
450 'isamc'. The type used can still be configured with the 'isam' setting
451 in 'zebra.cfg'.
452
453 Index structure is now 64-bit based, also on 32 bit systems. 
454 There are no more 2GB register file limits.
455
456 Extended search result tuning. Approximate limit for terms can be enabled
457 and specified with attribute 11. The (approx or exact) hit count is returned
458 as part of the search response as in 1.3 series. The subqueryID of a search
459 term hit count can be specified with attribute 10.
460
461 Zebra uses string attributes for indexing internally. Using set+numeric
462 use attribute can still be used. This is a search-only conversion which
463 inspects '*.att'-set files as indicated using attset-directives in 'zebra.cfg'.
464 'attset' references are no longer required, but when used they deserve
465 as "check" for that the index names used are also present in '*.att'.
466
467 Zebra record filters (record type handlers) may be built as loadable
468 modules (.so's) on Unix. In particular the Zebra 2.0 Debian package uses
469 separate packages for each of them. This also means that zebra programs
470 such as zebraidx is no longer depending on Tcl/other..
471
472 Documentation updates, especially on query structure and syntax, SRU, 
473 XSLT support, alvis filter module, and many added examples.
474
475 Improved logging of the 'zebrasrv' and 'zebraidx' binaries.
476
477 Improved debian package structure.
478
479 --- 1.3.16 2004/08/16