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