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