Adam Dickmeiss [Thu, 29 Mar 2012 08:14:49 +0000 (10:14 +0200)]
User info in /etc/metaproxy/metaproxy.user
Adam Dickmeiss [Thu, 29 Mar 2012 08:14:30 +0000 (10:14 +0200)]
Debian compat 5
Adam Dickmeiss [Wed, 28 Mar 2012 13:12:32 +0000 (13:12 +0000)]
RPM: metaproxy running as user "metaproxy"
Adam Dickmeiss [Wed, 28 Mar 2012 11:08:34 +0000 (13:08 +0200)]
Debian: metaproxy running as user "metaproxy"
New scripts to create and remove this user during installation
and removal.
Adam Dickmeiss [Tue, 20 Mar 2012 09:58:57 +0000 (10:58 +0100)]
Version 1.3.26
Adam Dickmeiss [Tue, 20 Mar 2012 09:57:24 +0000 (10:57 +0100)]
Update NEWS
Adam Dickmeiss [Tue, 20 Mar 2012 09:46:58 +0000 (10:46 +0100)]
RPM metaproxy.xml: add comment about logging
in the frontend net filter.
Adam Dickmeiss [Tue, 20 Mar 2012 09:23:38 +0000 (10:23 +0100)]
Sort module documentation, schema, fixes
Adam Dickmeiss [Mon, 19 Mar 2012 22:03:30 +0000 (23:03 +0100)]
sort: cache sorted records
So they can be refetched invidually for example.
Adam Dickmeiss [Mon, 19 Mar 2012 19:15:40 +0000 (20:15 +0100)]
Sort filter using xpath result for sort criteria
Sort order may be given in configuration.
Adam Dickmeiss [Mon, 19 Mar 2012 15:08:32 +0000 (16:08 +0100)]
Further work on sort filter .
Using x-path for getting score, but this is not yet in use.
Adam Dickmeiss [Mon, 19 Mar 2012 09:13:24 +0000 (10:13 +0100)]
sort: add skeleton for new sort filter
Adam Dickmeiss [Mon, 19 Mar 2012 09:12:19 +0000 (10:12 +0100)]
template: Use full configure for Impl configure
Adam Dickmeiss [Mon, 19 Mar 2012 09:12:07 +0000 (10:12 +0100)]
Remove useless comment
Adam Dickmeiss [Fri, 16 Mar 2012 12:42:47 +0000 (13:42 +0100)]
multi: adjust mediumSetPresentNumber to disable piggyback
The value was adjusted from 1 to 0.. It should not make a difference,
but still.
Adam Dickmeiss [Thu, 8 Mar 2012 16:28:14 +0000 (17:28 +0100)]
Protect the two Usemarcon handles
Multiple threads may use these. Allow only one at a time.
Adam Dickmeiss [Thu, 8 Mar 2012 15:59:34 +0000 (16:59 +0100)]
Update scheme for XSLT parms
This is actually supported in next YAZ version
Adam Dickmeiss [Thu, 8 Mar 2012 12:21:39 +0000 (13:21 +0100)]
virt_db: remove query-encoding facility
It's not in use and not documented.
Adam Dickmeiss [Thu, 8 Mar 2012 12:18:07 +0000 (13:18 +0100)]
multi: allow backend-auth to be given for target element
Adam Dickmeiss [Thu, 8 Mar 2012 10:03:53 +0000 (11:03 +0100)]
configure: fix check for YAZ version
Adam Dickmeiss [Thu, 8 Mar 2012 08:59:42 +0000 (09:59 +0100)]
use outputcharset in example
Adam Dickmeiss [Thu, 8 Mar 2012 08:56:48 +0000 (09:56 +0100)]
update retrievalinfo schema
Allow outputcharset (missing and supported for quite some time)
and leaderspec (new in YAZ 4.2.29).
Adam Dickmeiss [Thu, 8 Mar 2012 08:53:36 +0000 (09:53 +0100)]
multi: empty route pattern uses route as default
That is
<target route="z3950.indexdata.com">z3950.indexdata.com</route>
may use the shorter notation
<target route="z3950.indexdata.com"/>
Adam Dickmeiss [Wed, 7 Mar 2012 14:01:40 +0000 (15:01 +0100)]
query_rewrite: use config path to locate XSLT
Adam Dickmeiss [Tue, 6 Mar 2012 12:04:49 +0000 (12:04 +0000)]
Add include of sstream header
Adam Dickmeiss [Tue, 6 Mar 2012 11:44:50 +0000 (12:44 +0100)]
Filter frontend_net may log statistics
If a custom message element in frontend_net configuration it makes
the frontend_net filter produce a log entry whenever an operation
is completed. The log is always written using yaz_log with the
custom message given, the package ID (session ID) , the time
the operation has been active (end-to-end) , the threads currently
active/total and the size of the request input/output queues.
Adam Dickmeiss [Tue, 6 Mar 2012 11:39:39 +0000 (12:39 +0100)]
Require YAZ 4.2.28
This is because record_transform uses yaz_retrieval_configure_t
introduced in YAZ 4.2.28.
Adam Dickmeiss [Mon, 5 Mar 2012 13:09:54 +0000 (14:09 +0100)]
zoom: re-connect when database is reused
Re-connect is necessary if a connection is lost or a timeout occurs.
If not, we'll be seeing zero hits, when we shouldn't.
Adam Dickmeiss [Fri, 2 Mar 2012 21:48:45 +0000 (22:48 +0100)]
Minor documentation updates.
Adam Dickmeiss [Fri, 2 Mar 2012 21:46:09 +0000 (22:46 +0100)]
Update doc/common
Adam Dickmeiss [Fri, 2 Mar 2012 21:46:04 +0000 (22:46 +0100)]
record_transform: doc updates
Adam Dickmeiss [Fri, 2 Mar 2012 12:19:32 +0000 (13:19 +0100)]
record_transform: new step usemarcon
For calling USEMARCON to convert record(s).
Adam Dickmeiss [Fri, 2 Mar 2012 10:22:17 +0000 (11:22 +0100)]
Update m4
Adam Dickmeiss [Thu, 1 Mar 2012 10:29:06 +0000 (11:29 +0100)]
record_transform: honor piggyback searches
Adam Dickmeiss [Wed, 29 Feb 2012 13:56:27 +0000 (14:56 +0100)]
record_transform: remove some dead code
Adam Dickmeiss [Wed, 29 Feb 2012 13:51:13 +0000 (14:51 +0100)]
Reformat
Adam Dickmeiss [Wed, 29 Feb 2012 13:17:41 +0000 (14:17 +0100)]
query_rewrite: charset conversion of query terms
This is an optional feature. Enabled by element <charset> in
configuration with attribute 'from' and 'to' that specifies
from/to encodings. The default 'from' encoding is UTF-8.
Adam Dickmeiss [Wed, 29 Feb 2012 08:54:44 +0000 (09:54 +0100)]
Version 1.3.25
Adam Dickmeiss [Wed, 29 Feb 2012 08:53:51 +0000 (09:53 +0100)]
zoom: ccl_err_msg may return 0
So use odr_strdup_null. Just in case.
Adam Dickmeiss [Wed, 29 Feb 2012 08:51:49 +0000 (09:51 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Wed, 29 Feb 2012 08:51:17 +0000 (09:51 +0100)]
zoom: doc updates WRT content proxy host
Adam Dickmeiss [Tue, 28 Feb 2012 20:07:38 +0000 (21:07 +0100)]
RPM/Deb: compile with 4.2.27 or later
This is to ensure CCL_ERR_TRUNC_NOT_.. defines that appeared in YAZ
4.2.27 are checked.
Adam Dickmeiss [Tue, 28 Feb 2012 16:07:56 +0000 (17:07 +0100)]
Update NEWS
Adam Dickmeiss [Tue, 28 Feb 2012 16:06:11 +0000 (17:06 +0100)]
zoom: Only base database as additional info
When 'Database does not exist' is returned.
Adam Dickmeiss [Tue, 28 Feb 2012 15:06:20 +0000 (16:06 +0100)]
Merge branch 'hide_errors'
Adam Dickmeiss [Tue, 28 Feb 2012 15:06:01 +0000 (16:06 +0100)]
multi: document hideerrors
Adam Dickmeiss [Tue, 28 Feb 2012 15:02:57 +0000 (16:02 +0100)]
multi: adjust schema for hideerrors
Adam Dickmeiss [Tue, 28 Feb 2012 14:36:13 +0000 (15:36 +0100)]
multi: hideerrors functional
Adam Dickmeiss [Tue, 28 Feb 2012 14:37:51 +0000 (15:37 +0100)]
zoom: urlRecipe by default disabled
Adam Dickmeiss [Tue, 28 Feb 2012 13:43:48 +0000 (14:43 +0100)]
Merge branch 'master' into hide_errors
Adam Dickmeiss [Tue, 28 Feb 2012 13:03:21 +0000 (14:03 +0100)]
zoom: insert generated-url before common XSLT
Adam Dickmeiss [Tue, 28 Feb 2012 12:54:16 +0000 (13:54 +0100)]
zoom: content-proxy no longer part of generated-url
Adam Dickmeiss [Tue, 28 Feb 2012 12:23:25 +0000 (13:23 +0100)]
multi: initial work on hide_errors tweak
Adam Dickmeiss [Tue, 28 Feb 2012 11:50:17 +0000 (12:50 +0100)]
zoom: mention record_xsl
Adam Dickmeiss [Tue, 28 Feb 2012 11:31:48 +0000 (12:31 +0100)]
zoom: tweak element set rules
If element is not pz2/raw, use explain_xsp if present; if explain_xsp
is not present don't do any pz2 retrievals (old behavior).
Adam Dickmeiss [Tue, 28 Feb 2012 11:23:47 +0000 (12:23 +0100)]
zoom: extra XSLT with cproxyhost param
The extra XSLT enabled by if record_xsl attribute is specified
for zooom configuration. This will make a final transform
(after pz2 transform) and will be passed parameter cproxyhost
if content proxy is enabled; not passed otherwise.
Adam Dickmeiss [Fri, 24 Feb 2012 12:13:09 +0000 (13:13 +0100)]
zoom: document timeout setting.
Adam Dickmeiss [Fri, 24 Feb 2012 12:07:37 +0000 (13:07 +0100)]
zoom: timeout is configurable
Set as value of attribute 'timeout' in element 'zoom' of configuration.
Adam Dickmeiss [Fri, 24 Feb 2012 11:42:47 +0000 (12:42 +0100)]
zoom: fix spelling for a few errors
Adam Dickmeiss [Fri, 24 Feb 2012 11:36:53 +0000 (12:36 +0100)]
zoom: tune CCL to Z39.50 diagnostics mapping
Throw Bib-1: 108 "Malformed query" for syntax errors and related ones;
throw Bib-1: 3 "Unsupported search" for everything else. Details from
the CCL parser is provided as additional-info.
Adam Dickmeiss [Thu, 23 Feb 2012 11:21:56 +0000 (11:21 +0000)]
Version 1.3.24
Adam Dickmeiss [Thu, 23 Feb 2012 11:18:52 +0000 (12:18 +0100)]
Update NEWS
Adam Dickmeiss [Thu, 23 Feb 2012 10:51:16 +0000 (11:51 +0100)]
Swap elements resultset and session in example config
To make our schema checking happy.
Adam Dickmeiss [Thu, 23 Feb 2012 10:41:44 +0000 (11:41 +0100)]
Avoid re-using backends for Explain searches
This fixes a bug where re-used IR-Explain---1 searches would
result in an empty response.
Adam Dickmeiss [Thu, 23 Feb 2012 10:39:44 +0000 (11:39 +0100)]
Reduce resultset ttl in config-zoom.xml example
Adam Dickmeiss [Mon, 20 Feb 2012 14:56:19 +0000 (15:56 +0100)]
Slightly different sample URL
Adam Dickmeiss [Mon, 20 Feb 2012 14:55:17 +0000 (15:55 +0100)]
Skip missing ccl_map values
Adam Dickmeiss [Fri, 17 Feb 2012 14:31:25 +0000 (15:31 +0100)]
Update doc/common
Adam Dickmeiss [Fri, 10 Feb 2012 17:44:19 +0000 (17:44 +0000)]
Version 1.3.23
Adam Dickmeiss [Fri, 10 Feb 2012 14:41:17 +0000 (15:41 +0100)]
Update NEWS
Adam Dickmeiss [Fri, 10 Feb 2012 14:35:35 +0000 (15:35 +0100)]
Describe new configuration for zoom WRT ZeeRex.
Adam Dickmeiss [Fri, 10 Feb 2012 14:35:03 +0000 (15:35 +0100)]
zoom: warn if %query is not defined and Explain is used
Adam Dickmeiss [Fri, 10 Feb 2012 14:26:24 +0000 (15:26 +0100)]
Update zoom schema: new explain_xsl attribute
Adam Dickmeiss [Fri, 10 Feb 2012 14:22:48 +0000 (15:22 +0100)]
zoom: present and search operational for ZeeRex.
Note that recordSchema is not set at the moment. serverInfo host+port
is not changed either. Could be set in explain XSL.
Adam Dickmeiss [Wed, 8 Feb 2012 19:19:11 +0000 (20:19 +0100)]
zoom: further work on ZeeRex service
Adam Dickmeiss [Wed, 8 Feb 2012 19:17:23 +0000 (20:17 +0100)]
Document session_shared configuration
Adam Dickmeiss [Wed, 8 Feb 2012 19:15:29 +0000 (20:15 +0100)]
session_shared: restart (error recovery) configurable
Whether a search is restarted on errors or not, is configurable by
attribute restart in element resultset in configuration.
Adam Dickmeiss [Mon, 6 Feb 2012 14:59:11 +0000 (15:59 +0100)]
zoom: work on ZeeRex service
Adam Dickmeiss [Mon, 6 Feb 2012 10:23:42 +0000 (11:23 +0100)]
session_shared: only relay init for first request
session_shared, for each backend class, now only relays first init
request (rather than all). The module only needs to save init
response info once. This avoids the need to check for session max.
Adam Dickmeiss [Thu, 2 Feb 2012 13:13:00 +0000 (14:13 +0100)]
Version 1.3.22
Adam Dickmeiss [Thu, 2 Feb 2012 12:52:42 +0000 (13:52 +0100)]
Document changes
Adam Dickmeiss [Thu, 2 Feb 2012 12:40:13 +0000 (13:40 +0100)]
Document session_shared's session max
Adam Dickmeiss [Thu, 2 Feb 2012 12:36:25 +0000 (13:36 +0100)]
Document correct default result-set ttl
Adam Dickmeiss [Thu, 2 Feb 2012 12:31:40 +0000 (13:31 +0100)]
Update session_shared schema for max sessions
Also, make the attributes optional.
Adam Dickmeiss [Thu, 2 Feb 2012 12:29:56 +0000 (13:29 +0100)]
session_shared: allow max sessions to be given
If attribute "max" for element session is given a more aggresive
result set re-use will be enabled in order to avoid creating a new
session. If this fails and all sessions are in use a temporary
system error diagnostic is returned with appropriate addinfo.
Adam Dickmeiss [Thu, 2 Feb 2012 10:24:51 +0000 (11:24 +0100)]
session_shared: only reuse sets with matching db
At least for backends with no named result sets.
Adam Dickmeiss [Wed, 1 Feb 2012 11:58:40 +0000 (12:58 +0100)]
session_shared: Simplify ttl conditional
A result set ttl of 0 will make immediate reuse of a set.
Adam Dickmeiss [Wed, 1 Feb 2012 11:35:19 +0000 (12:35 +0100)]
zoom: reset result sets (major leak)
Adam Dickmeiss [Wed, 1 Feb 2012 11:23:45 +0000 (12:23 +0100)]
Remove yaz_log message
Adam Dickmeiss [Wed, 1 Feb 2012 09:29:19 +0000 (10:29 +0100)]
Fix two WRBUF leaks (memory)
Adam Dickmeiss [Wed, 18 Jan 2012 14:47:03 +0000 (15:47 +0100)]
multi: combines diagnostics from all backends
All diagnostics from backends are combined into multiple
non-surrogate diagnostics; rather than just one diagnostic from
first backend.
Adam Dickmeiss [Wed, 18 Jan 2012 14:31:30 +0000 (15:31 +0100)]
Fix diagnostic fix up
The diagnostic fix up where (backend host) is added would not
be added for v3addinfo.
Adam Dickmeiss [Wed, 11 Jan 2012 11:20:24 +0000 (12:20 +0100)]
Happy new year
Adam Dickmeiss [Tue, 27 Dec 2011 13:47:14 +0000 (14:47 +0100)]
Version 1.3.21
Adam Dickmeiss [Tue, 27 Dec 2011 13:45:47 +0000 (14:45 +0100)]
Changes
Adam Dickmeiss [Tue, 27 Dec 2011 13:41:51 +0000 (14:41 +0100)]
zoom: pass realm to cproxy parameter file
Adam Dickmeiss [Tue, 27 Dec 2011 12:43:11 +0000 (13:43 +0100)]
Version 1.3.20-2 for testing filter include
Adam Dickmeiss [Tue, 27 Dec 2011 12:39:28 +0000 (13:39 +0100)]
Allow filter collection element inside route
This makes it possible to include multiple filters at once.
Adam Dickmeiss [Thu, 22 Dec 2011 13:17:15 +0000 (14:17 +0100)]
zoom: nocproxy also disables urlRecipe
Adam Dickmeiss [Wed, 21 Dec 2011 13:58:03 +0000 (14:58 +0100)]
Version 1.3.20