Version 2.0.39
[idzebra-moved-to-github.git] / NEWS
1 --- 2.0.39 2009/07/09
2
3 Improved speed of record fetching by using a different block sizes
4 for recd{A,B}.
5
6 Added zlib-compression of recd-storage (record data). This is enabled
7 by using recordCompression: zlib in zebra.cfg.
8
9 Dictionary delete more agressive (dict_del_string).
10
11 --- 2.0.38 2009/06/19
12
13 Improved estimated hits for AND operation (bug #2907)
14
15 Fixed problem with register area growing after "drop DB". (bug #2913).
16
17 --- 2.0.37 2009/05/18
18
19 Example with marc21 is now installed and part of packages.
20
21 Fixed XSL for OAI example.
22
23 Fixed problem with generic proximity handling.
24
25 Added new ranking handler: rank-2. This is a combination of rank-1 and
26 static rank.. The staticrank is inverse (lowest value comes first, etc..).
27 rank-2 thus substracts that from score. This allows a system to specify
28 a "base" rank (=staticrank).
29
30 --- 2.0.36 2009/02/17
31
32 Added implementation-codes directive for .mar files.
33
34 Avoid error for missing recordId when zebraidx' option -s is in use.
35
36 Fixed problem with some disk blocks not beeing freed correctly when
37 'drop database' is used.
38
39 --- 2.0.34 2008/11/06
40
41 Facets can now be performed on sort registers (:s), not just regular indexes
42 (:w, :p) etc.. The performance appers to be much better than before.
43
44 Added a facility to embed metadata for records generated by the DOM XML
45 filter. The meta data step is triggered by a 'process-meta' section in the
46 retrieve section of the dom config, e.g.
47   <retrieve name="myelementset">
48     <xslt stylesheet="my-usual.xsl"/>
49     <process-meta/>
50   </retrieve>
51 The meta section substitutes metadata for all elements called 'meta' in
52 namespace http://indexdata.com/zebra-2.0 . The meta element must have
53 exactly one attribute, name, which specifies the special
54 element set name which is equivalent to the suffix to zebra:: for
55 non-embedded special retrievals. This allows snippets, facets etc to be
56 included.
57
58 Fixed bug #2202: incorrect sorting order when searching multiple databases.
59
60 --- 2.0.32 2008/06/06
61
62 Fixed OAI example.
63
64 --- 2.0.30 2008/05/14
65
66 Changed service name for Windows. Bug #978.
67
68 Fixed the alwaysmatches including _ALLRECORDS for ICU term indexing. Bug #2139.
69
70 --- 2.0.28 2008/04/03
71
72 Handle right-truncation for ICU normalized terms.
73
74 Updated OAI-PMH example.
75
76 --- 2.0.26 2008/01/28 
77
78 Fixes for searches on Chinese text.
79
80 Fixes for scan using ICU indexing terms.
81
82 --- 2.0.24 2008/01/18 
83
84 Fixed some memory violations for ICU enabled indexing that could be
85 triggered by long phrases.
86
87 Enable ICU on Windows. Thanks to Tumer Garip for makefile patches.
88
89 Fixed bug #2002: Zebra crashes during merge using ICU indexing.
90
91 --- 2.0.22 2007/12/20
92
93 Handle encoding errors for strings passed to ICU. (assert was
94 thrown earlier).
95
96 Added zebraidx command, adelete, which attempts to delete records.
97 It's like 'delete', but does not fail if a record does not exist.
98
99 --- 2.0.20 2007/12/19
100
101 Added experimental support for faceted results. This is implemented
102 as a special retrieval on a result set and is triggered using element
103 set name zebra::facet::f1:t1,f2,t2,.. which will return terms and
104 hit counts for field f1, type t1, field f2, type t2, .. The returned
105 data is packed as XML or SUTRS depending on record syntax.
106
107 Added support for Unicode-based indexing using ICU. This allows
108 locale specific scanning, sorting. The implementation is based on
109 the ICU utility part of YAZ 3.0.16 and later. See the manual as well
110 as the examples/marcxml for an example of the use of ICU.
111
112 --- 2.0.18 2007/09/19
113
114 Fixed bug with scan and staticrank enabled. Bug introduced in 2.0.16.
115
116 --- 2.0.16 2007/09/12
117
118 Scan now returns a displayTerm which closer to the original word/phrase
119 from original record.
120
121 Added snippet support. Element set name zebra::snippet will make
122 Zebra return an XML record with snippets (terms around matching terms).
123
124 Fixed bug #1142: Non-indexed but listed attributes issues diagnostic.
125
126 Fixed bug #1131: Missing value-of data in DOM filter.
127
128 Fixed bug #1049: zebra.cfg lines with leading space are ignored.
129
130 Fixed bug #1128: sortmax not honored.
131
132 Fixed bug #1121: Crash for some searches with customized string.chr.
133
134 --- 2.0.14 2007/05/09
135
136 Zebra uses the YAZ 3 API. Note that this changes the Zebra API
137 as well. The register layout is the same however. 
138
139 Fixed bug #1114: scan within set may use excessive CPU.
140
141 Fixed memory leak that occurred in scan.
142
143 Fixed memory leak that occurred for each deleted record.
144
145 Optimize updates of records where content is almost identical to previous
146 version of record. This makes updating of the internal explain database
147 faster too.
148
149 For RPN queries the index type (w,p,..) may be specified verbatim as
150 structure attribute with string value, e.g. @attr 4=w .
151
152 Changed record update API . It is now handled by function
153 zebra_record_update which does insert/replace/delete/update of records .
154 This function replaces zebra_record_{insert,delete} and
155 zebra_admin_exchange_record. The DOM filter uses this feature and the
156 @type attribute in record element specifies the action
157 insert/replace/delete/update.
158
159 Added support for multi-record updates (Bug #944). Based on patch from
160 Hans-Werner Hilse.
161
162 --- 2.0.12 2007/03/07
163
164 Fixed bug with indexing of attributes for rec.grs-class of filters.
165 If X-Path was enabled xelm a/@b would be ignored.
166
167 Fixed bug in register system where 'no more space' messages was produced
168 even though there was plenty of space.
169
170 Fixed bug #884: Entity declarations in input are lost at retrieval time.
171
172 Implemented new filter 'dom'. See test/xslt/dom-config*xml for examples. 
173 This, like alvis, performs indexing and retrieval using XSLT. But Unlike
174 alvis, it allows multiple XSLT steps to be performed and does ISO2709
175 reading. Bug #843.
176
177 --- 2.0.10 2007/01/24
178
179 Staticrank indexing is now an index register type defined in default.idx
180 via directive 'staticrank'. The 'staticrank' directive for grs is no longer
181 supported (was only implemented for Zebra 2.0.8).
182
183 For searches, allow truncmax value to be controlled with attribute 13.
184 If given, that overrides the value of 'truncmax'.
185
186 For truncations being limited (abort at truncmax terms), zebrasrv returns
187 SearchResponse with resultSetStatus=subset.
188
189 For estimated hit counts, zebrasrv returns SearchResponse with 
190 resultSetStatus=estimate.
191
192 --- 2.0.8 2007/01/15
193
194 For searches, do not truncate more than at most 'truncmax' terms in one
195 single term with right-truncation/regular attribute. By default, 'truncmax',
196 is 10000.
197
198 Bug #781: Easier tracking of result sets. We only do this when mkstemp
199 is available (most moderun Unixes supports this). The PID is included
200 in filename : tempdir/zrs_PID_XXXXXX.
201
202 Added support for specification of staticrank for grs-class of filters.
203 This is enabled by using 'staticrank indexname' in .abs. Contents of
204 indexname (elm ... indexname:w) is then used as value for staticrank.
205
206 Implemented sorting via the ISAMB system. To enable, use sortindex:i in
207 zebra.cfg.
208
209 Added special retrieval support for sort keys. These keys can also be
210 fetched using zebra::index:field:s   
211
212 Added support for specification of approximative limits for whole query.
213 This is specified as attribute type 12. Semantics is the same as
214 estimatehits in zebra.cfg.
215
216 --- 2.0.6 2006/11/28
217
218 Fixed bug #736: Updates gets slower.
219
220 Fixed bug #735: Delete fails to process rest of file after a record that
221 does not exist,
222
223 Added RPM package for Zebra 2.
224
225 Improved indexing speed for large documents.
226
227 Added support for special utility retrieval zebra:: which offers retrieval
228 of fundamental properties for record, such as indexed terms, raw record,
229 and system record ID.
230
231 --- 2.0.4 2006/10/16
232
233 Fixed bug #47: Commit needs to check for roll-back.
234
235 Fixed bug #672: Trailing characters in password are ignored
236
237 Added extra presence check for tcl.h, because some systems have
238 tclConfig.sh installed even though Tcl C headers are missing.
239
240 Optimized melm performance.
241
242 Do not use sync(2) during commit (but rely on sync'd individual files).
243
244 Fixed bug in ISAMB's utility function decode_ptr. With gcc -O3 on some
245 platforms the src argument was not updated. Problem was compiler
246 optimization due to strict aliasing rules.
247
248 --- 2.0.2 2006/09/22
249
250 Bug fixes: #638, #647, #657, #669.
251
252 Implement skip of 0 hit counts in scan. Useful for scan operations
253 limited by a result set.
254
255 Honor position attribute, i.e. allow first-in-field search. To
256 enable this, "firstinfield 1" must be given for an index in
257 default.idx. Enabled in tab/default.idx for w. At this stage
258 first-in field is supported for phrase/and-list/or-list searches
259
260 Common stream reader interface for record filters (struct ZebraRecStream).
261
262 Debian package fix: packages idzebra-2.0 + libidzebra-2.0-modules did
263 not depend properly on sub packages.
264
265 --- 2.0.0 2006/08/14
266
267 New record filter (record type) 'alvis' which uses XSLT transformations
268 to drive both indexing as well as retrieval. See example configuration in the
269 'example/alvis-oai' directory.
270
271 'isamb' is now the default ISAM system. In Zebra 1.3, the default ISAM was
272 'isamc'. The type used can still be configured with the 'isam' setting
273 in 'zebra.cfg'.
274
275 Index structure is now 64-bit based, also on 32 bit systems. 
276 There are no more 2GB register file limits.
277
278 Extended search result tuning. Approximate limit for terms can be enabled
279 and specified with attribute 11. The (approx or exact) hit count is returned
280 as part of the search response as in 1.3 series. The subqueryID of a search
281 term hit count can be specified with attribute 10.
282
283 Zebra uses string attributes for indexing internally. Using set+numeric
284 use attribute can still be used. This is a search-only conversion which
285 inspects '*.att'-set files as indicated using attset-directives in 'zebra.cfg'.
286 'attset' references are no longer required, but when used they deserve
287 as "check" for that the index names used are also present in '*.att'.
288
289 Zebra record filters (record type handlers) may be built as loadable
290 modules (.so's) on Unix. In particular the Zebra 2.0 Debian package uses
291 separate packages for each of them. This also means that zebra programs
292 such as zebraidx is no longer depending on Tcl/other..
293
294 Documentation updates, especially on query structure and syntax, SRU, 
295 XSLT support, alvis filter module, and many added examples.
296
297 Improved logging of the 'zebrasrv' and 'zebraidx' binaries.
298
299 Improved debian package structure.
300
301 --- 1.3.16 2004/08/16