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