Towards 1.2.4
[pazpar2-moved-to-github.git] / NEWS
1 --- 1.2.4 IN PROGRESS
2
3 Support for additional fields in cf.xsl and pazpar2.conf.dist:
4 publisher, available, due, location (=locallocation), callno
5 (=callnumber), thumburl and score.
6
7 --- 1.2.3 2009/11/24
8
9 Metadata attribute 'skiparticle' also works for ICU based
10 normalization. (was only working for the non-ICU/ASCII before).
11
12 Command bytarget with argument settings=1 will show settings per
13 target.. This is to be able to verify correct settings and be able to
14 test that they are correct. The database settings array size is now
15 also stored..  Problems with database settings array is that if not
16 careful it will be too small (smaller than dictionary per-service
17 in settings).
18
19 Make record list sorting stable by comparing mergekey for records if
20 relevance/title or other sorting criteria all match. This is merely to
21 ensure that our regressions tests works (reproducible output).
22
23 Relevance calculation changes: use a different denominator (length) for
24 per-field relevance scoring.. Instead of length of all ranked fields we
25 now use length of individual fields (as if they were individual "free"
26 text fields). This will ensure that documents with a long field with no
27 match (say description) will not "hurt" a title match.
28
29 Diagnostic member was not set on connection error. Fixed
30
31 --- 1.2.2 2009/10/13
32
33 Command search takes two optional parameters, startecs and maxrecs,
34 that specifies the start offset (0, 1, ...) and maximum number of records
35 to fetch for each target.
36
37 XSLTs + MARC maps are cached within a session so we don't re-parse
38 them over and over again. Even for a session with a single search
39 there's much to be gained because many targets use the same
40 transformation.
41
42 The metadata attribute 'mergekey' now takes one of three values 'no',
43 'required', 'optional' .  And the resulting mergekey from metadata
44 is now ordered in the same way as metadata in the service definition.
45 Older Pazpar2 version use the order in which metadata appeared in a
46 record instance.
47
48 The search argument 'filter' now offers a new operator ~ which does a 
49 substring match. The = operator works as before: string match for
50 anything but pz:id, or target match for pz:id.
51
52 New setting pz:recordfilter. The value of this setting takes the
53 form name[~value]. This setting makes Pazpar2 ignore all retrieved
54 records that do not have the metadata element name with value substring
55 (if given).
56
57 Pazpar2 allows YAZ log level to be set (option -v).
58
59 --- 1.2.1 2009/10/05
60
61 For WS responses Pazpar2 creates XML header. Exception: raw record.
62
63 Setting XML files are now stored in etc/settings instead of etc. This
64 reflects the layout with the Debian package layout.
65
66 Settings may be posted for command=settings. The POSTed settings must
67 have root element 'settings' like regular setting files. In order to be
68 recognized, the POST request must use Content-Type=text/xml.
69
70 A service may be posted for command=init. This service will be used
71 during the session. The service may have its own target settings,
72 ICU config, timeout, etc. In order to be recognized, the POST request
73 must use Content-Type=text/xml.
74
75 Timeout values may be given per-service. That's element 'timeout' 
76 which takes three attribute values (a subset may be given): 'session',
77 'z3950_operation', 'z3950_session'. Option -T is no longer supported
78 - used to specify session timeout.
79
80 Option -t tests the Pazpar2 configuration and returns exit code
81 (0=success, non-zero=failure). In previous version of Pazpar2, -t
82 specified local settings.
83
84 In version 1.2.0 the configuration file - after include processing -
85 was dumped to stdout. Now, the configuration is only dumped to the
86 yaz log file if option -d is given.
87
88 --- 1.2.0 2009/09/10
89
90 Configuration may now have multiple server areas. This means that a
91 Pazpar2 instance may listen on multiple ports. Virtual hosting is not
92 yet supported - on a server basis. Configuration may also have multiple
93 services .. That is repeating service elements inside a server. Each
94 has an attribute 'id' which serves as service ID. This ID in turn may
95 be used in a Pazpar2 session, by specifying parameter service=ID for
96 command init. There can be at most one unnamed service inside a server
97 which can be referred to by not specifying an service ID for command
98 init (backwards compatible). In order to partition multiple servers and
99 services a new include directive has been added. This takes an attribute
100 'src' which specifies one or more sub-files. For example to include
101 service files, one might use:
102   <server >.. <include src=/"etc/pazpar2/conf.d/*.xml"/> .. </server>.
103 It is the intention that that completely makes the settings directive
104 redundant.
105
106 Fix problem where the record command would wait forever if there were
107 no targets to wait for (activeclients == 0).
108
109 --- 1.1.1 2009/08/28
110
111 One result set is created per session (last search) rather than for
112 each connection which happen to be shared (bug #3009).
113
114 marc21 stylesheets changed for efficiency.
115
116 --- 1.1.0 2009/08/19
117
118 Session timeout may be specified on the command-line as option -T.
119
120 Pazpar2 may now be operated in a no-merged mode for records.. All records
121 will be considered unique. This mode is enabled if no mergekey is
122 generated by the normalization stylesheet (pz:xslt). 
123
124 Pazpar2 caches original records from each target and the 'record' command
125 with offset returns the original record if 'syntax' and 'esn' are NOT
126 specified. This speeds up retrieval of original records but also means
127 that Pazpar2 uses more memory. The cached records will be freed when the
128 session terminates or a new search is executed.
129
130 Pazpar2 no longer uses its own ICU wrapper. Instead the ICU wrapper
131 library part of YAZ is used.
132
133 Added SRU client support.
134
135 Automatically computes pz:nativesyntax if not provided. Works for XML and
136 MARC.
137
138 --- 1.0.13 2008/11/24
139
140 Command bytarget returns name of target (if defined).
141
142 --- 1.0.12 2008/11/04
143
144 Fixed bug #2021.. location now holds all brief elements.
145
146 --- 1.0.11 2008/10/15
147
148 Fixed check for application/x-www-form-urlencoded parameters.
149
150 --- 1.0.10 2008/10/14
151
152 Fixes for IE in pz2.js.
153
154 Fixed bug #2021: non-merged, brief meta data NOT included for command=show.
155
156 --- 1.0.9 2008/05/23
157
158 Changed the JS library pz2.js to use POST for long URL (+ params).
159
160 Added installation instructions for Windows. Note: NT services is
161 NOT available until we make a new release of YAZ.
162
163 Preserve order of repeated metadata fields (they were reversed before).
164
165 More MARC21 information extracted for metadata.
166
167 --- 1.0.8 2008/04/22
168
169 Fixed bug #1162: HTML entities are not escaped properly.
170
171 Native Windows port of Pazpar2. Makefile for Visual Studio provided.
172
173 --- 1.0.7 2008/04/14
174
175 Marc21 stylesheet updated to reflect multiple full text fields
176
177 --- 1.0.6 2008/03/12
178
179 Fixed bug in pz2.js WRT DOMElement attributes on IE.
180
181 Fixed bug 2100: Database wildcards not working
182
183 --- 1.0.5 2007/11/09
184
185 Added support for retrieval of records in binary.
186
187 Fixed bug 1794: Pazpar2 does not return valid XML.
188
189 Deal with ICU not returning sortkey (resulted in SEGV before).
190
191 --- 1.0.4 2007/09/28
192
193 JavaScript library pzw2.js throws error if WS response (from Pazpar2 or
194 other) is malformed (non-wellformed XML or missing Pazpar2 OK status).
195
196 Improved diagnostics when Pazpar2 HTTP decoding fails.
197
198 Pazpar2 requests may be POSTed as using Content-Type
199 application/x-www-form-urlencoded.
200
201 Pazpar2 honors LF in HTTP headers.
202
203 Handle targets that handle negative hit counts (should not happen, but it
204 does).
205
206 --- 1.0.3 2007/09/19
207
208 ICU is used for tokenization and normalization of the following: mergekey,
209 sorting, relevance terms.
210
211 Debian package now enables ICU tokenization and normalization by default.
212
213 --- 1.0.2 2007/08/22
214
215 Exposed user setting values (i.e. non-pz: names) to the record systems in two
216 ways: Either as parameters to the normalization stylesheets (which would allow the
217 programmer to postprocess or use the values in any way) or after the normalization
218 step, in which case values are made part of the normalized record (and available for
219 sorting, termlists, display, or other interface-related use.
220
221 Implemented sorting by year.
222
223 Option -d dumps records to the current log file instead of stderr.
224
225 Fixes for compilation on cygwin.
226
227 Z39.50 client code uses pz:elements. pz:elements was recognized in
228 earlier Pazpar2 versions but it was not used for anything.
229
230 icu_chain_test is using fgets instead of getline - fixes compilation
231 on MacOSX .
232
233 Loosen the CCL query parsing so that Pazpar2 only returns error if _all_
234 query conversions fail (rather than _any_). This means targets that do
235 not support some fields are ignored in a search.
236
237 --- 1.0.1 2007/07/03
238
239 Improved handling of socket timeout for Z39.50 connections. 
240
241 Misc documentation updates and spell fixes.
242
243 Debian package pazpar2 creates log rotate entry.
244
245 Debian package pazpar2-apache2 reloads Apache2.
246
247 jsdemo included in distribution. It illustrates the use of the js/pz2.js
248 JavaScript library.
249
250 --- 1.0.0 2007/06/20
251
252 First public release.
253