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