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