72e252ac9d49c3b06bd51c3395533da8d76f9349
[idzebra-moved-to-github.git] / NEWS
1 --- 2.0.22 2007/12/20
2
3 Handle encoding errors for strings passed to ICU. (assert was
4 thrown earlier).
5
6 Added zebraidx command, adelete, which attempts to delete records.
7 It's like 'delete', but does not fail if a record does not exist.
8
9 --- 2.0.20 2007/12/19
10
11 Added experimental support for faceted results. This is implemented
12 as a special retrieval on a result set and is triggered using element
13 set name zebra::facet::f1:t1,f2,t2,.. which will return terms and
14 hit counts for field f1, type t1, field f2, type t2, .. The returned
15 data is packed as XML or SUTRS depending on record syntax.
16
17 Added support for Unicode-based indexing using ICU. This allows
18 locale specific scanning, sorting. The implementation is based on
19 the ICU utility part of YAZ 3.0.16 and later. See the manual as well
20 as the examples/marcxml for an example of the use of ICU.
21
22 --- 2.0.18 2007/09/19
23
24 Fixed bug with scan and staticrank enabled. Bug introduced in 2.0.16.
25
26 --- 2.0.16 2007/09/12
27
28 Scan now returns a displayTerm which closer to the original word/phrase
29 from original record.
30
31 Added snippet support. Element set name zebra::snippet will make
32 Zebra return an XML record with snippets (terms around matching terms).
33
34 Fixed bug #1142: Non-indexed but listed attributes issues diagnostic.
35
36 Fixed bug #1131: Missing value-of data in DOM filter.
37
38 Fixed bug #1049: zebra.cfg lines with leading space are ignored.
39
40 Fixed bug #1128: sortmax not honored.
41
42 Fixed bug #1121: Crash for some searches with customized string.chr.
43
44 --- 2.0.14 2007/05/09
45
46 Zebra uses the YAZ 3 API. Note that this changes the Zebra API
47 as well. The register layout is the same however. 
48
49 Fixed bug #1114: scan within set may use excessive CPU.
50
51 Fixed memory leak that occurred in scan.
52
53 Fixed memory leak that occurred for each deleted record.
54
55 Optimize updates of records where content is almost identical to previous
56 version of record. This makes updating of the internal explain database
57 faster too.
58
59 For RPN queries the index type (w,p,..) may be specified verbatim as
60 structure attribute with string value, e.g. @attr 4=w .
61
62 Changed record update API . It is now handled by function
63 zebra_record_update which does insert/replace/delete/update of records .
64 This function replaces zebra_record_{insert,delete} and
65 zebra_admin_exchange_record. The DOM filter uses this feature and the
66 @type attribute in record element specifies the action
67 insert/replace/delete/update.
68
69 Added support for multi-record updates (Bug #944). Based on patch from
70 Hans-Werner Hilse.
71
72 --- 2.0.12 2007/03/07
73
74 Fixed bug with indexing of attributes for rec.grs-class of filters.
75 If X-Path was enabled xelm a/@b would be ignored.
76
77 Fixed bug in register system where 'no more space' messages was produced
78 even though there was plenty of space.
79
80 Fixed bug #884: Entity declarations in input are lost at retrieval time.
81
82 Implemented new filter 'dom'. See test/xslt/dom-config*xml for examples. 
83 This, like alvis, performs indexing and retrieval using XSLT. But Unlike
84 alvis, it allows multiple XSLT steps to be performed and does ISO2709
85 reading. Bug #843.
86
87 --- 2.0.10 2007/01/24
88
89 Staticrank indexing is now an index register type defined in default.idx
90 via directive 'staticrank'. The 'staticrank' directive for grs is no longer
91 supported (was only implemented for Zebra 2.0.8).
92
93 For searches, allow truncmax value to be controlled with attribute 13.
94 If given, that overrides the value of 'truncmax'.
95
96 For truncations being limited (abort at truncmax terms), zebrasrv returns
97 SearchResponse with resultSetStatus=subset.
98
99 For estimated hit counts, zebrasrv returns SearchResponse with 
100 resultSetStatus=estimate.
101
102 --- 2.0.8 2007/01/15
103
104 For searches, do not truncate more than at most 'truncmax' terms in one
105 single term with right-truncation/regular attribute. By default, 'truncmax',
106 is 10000.
107
108 Bug #781: Easier tracking of result sets. We only do this when mkstemp
109 is available (most moderun Unixes supports this). The PID is included
110 in filename : tempdir/zrs_PID_XXXXXX.
111
112 Added support for specification of staticrank for grs-class of filters.
113 This is enabled by using 'staticrank indexname' in .abs. Contents of
114 indexname (elm ... indexname:w) is then used as value for staticrank.
115
116 Implemented sorting via the ISAMB system. To enable, use sortindex:i in
117 zebra.cfg.
118
119 Added special retrieval support for sort keys. These keys can also be
120 fetched using zebra::index:field:s   
121
122 Added support for specification of approximative limits for whole query.
123 This is specified as attribute type 12. Semantics is the same as
124 estimatehits in zebra.cfg.
125
126 --- 2.0.6 2006/11/28
127
128 Fixed bug #736: Updates gets slower.
129
130 Fixed bug #735: Delete fails to process rest of file after a record that
131 does not exist,
132
133 Added RPM package for Zebra 2.
134
135 Improved indexing speed for large documents.
136
137 Added support for special utility retrieval zebra:: which offers retrieval
138 of fundamental properties for record, such as indexed terms, raw record,
139 and system record ID.
140
141 --- 2.0.4 2006/10/16
142
143 Fixed bug #47: Commit needs to check for roll-back.
144
145 Fixed bug #672: Trailing characters in password are ignored
146
147 Added extra presence check for tcl.h, because some systems have
148 tclConfig.sh installed even though Tcl C headers are missing.
149
150 Optimized melm performance.
151
152 Do not use sync(2) during commit (but rely on sync'd individual files).
153
154 Fixed bug in ISAMB's utility function decode_ptr. With gcc -O3 on some
155 platforms the src argument was not updated. Problem was compiler
156 optimization due to strict aliasing rules.
157
158 --- 2.0.2 2006/09/22
159
160 Bug fixes: #638, #647, #657, #669.
161
162 Implement skip of 0 hit counts in scan. Useful for scan operations
163 limited by a result set.
164
165 Honor position attribute, i.e. allow first-in-field search. To
166 enable this, "firstinfield 1" must be given for an index in
167 default.idx. Enabled in tab/default.idx for w. At this stage
168 first-in field is supported for phrase/and-list/or-list searches
169
170 Common stream reader interface for record filters (struct ZebraRecStream).
171
172 Debian package fix: packages idzebra-2.0 + libidzebra-2.0-modules did
173 not depend properly on sub packages.
174
175 --- 2.0.0 2006/08/14
176
177 New record filter (record type) 'alvis' which uses XSLT transformations
178 to drive both indexing as well as retrieval. See example configuration in the
179 'example/alvis-oai' directory.
180
181 'isamb' is now the default ISAM system. In Zebra 1.3, the default ISAM was
182 'isamc'. The type used can still be configured with the 'isam' setting
183 in 'zebra.cfg'.
184
185 Index structure is now 64-bit based, also on 32 bit systems. 
186 There are no more 2GB register file limits.
187
188 Extended search result tuning. Approximate limit for terms can be enabled
189 and specified with attribute 11. The (approx or exact) hit count is returned
190 as part of the search response as in 1.3 series. The subqueryID of a search
191 term hit count can be specified with attribute 10.
192
193 Zebra uses string attributes for indexing internally. Using set+numeric
194 use attribute can still be used. This is a search-only conversion which
195 inspects '*.att'-set files as indicated using attset-directives in 'zebra.cfg'.
196 'attset' references are no longer required, but when used they deserve
197 as "check" for that the index names used are also present in '*.att'.
198
199 Zebra record filters (record type handlers) may be built as loadable
200 modules (.so's) on Unix. In particular the Zebra 2.0 Debian package uses
201 separate packages for each of them. This also means that zebra programs
202 such as zebraidx is no longer depending on Tcl/other..
203
204 Documentation updates, especially on query structure and syntax, SRU, 
205 XSLT support, alvis filter module, and many added examples.
206
207 Improved logging of the 'zebrasrv' and 'zebraidx' binaries.
208
209 Improved debian package structure.
210
211 --- 1.3.16 2004/08/16