Adam Dickmeiss [Wed, 29 Jun 2011 14:23:19 +0000 (16:23 +0200)]
Debian: build depends on libboost-regex-dev
Adam Dickmeiss [Wed, 29 Jun 2011 14:13:26 +0000 (16:13 +0200)]
configure checks for Boost regex
Adam Dickmeiss [Wed, 29 Jun 2011 14:12:37 +0000 (16:12 +0200)]
Update m4
Adam Dickmeiss [Mon, 27 Jun 2011 22:23:07 +0000 (00:23 +0200)]
metaproxy init.d stop: stop by PID only
In some cases the name of the metaproxy will be lt-metaproxy . This is
if metaproxy is using shared libraries and is not installed. Omitting
name option from start-stop-daemon will make it stop based on the PID
file only.
Adam Dickmeiss [Mon, 27 Jun 2011 20:20:44 +0000 (22:20 +0200)]
Version 1.2.9
Adam Dickmeiss [Mon, 27 Jun 2011 20:20:11 +0000 (22:20 +0200)]
Doc: Fix spell of emphasis tag.
Adam Dickmeiss [Mon, 27 Jun 2011 17:18:56 +0000 (19:18 +0200)]
zoom: enable marc-8 by default for usmarc and opac.
Adam Dickmeiss [Mon, 27 Jun 2011 11:44:19 +0000 (13:44 +0200)]
zoom: assume marc-8 by default for records except XML.
Adam Dickmeiss [Sat, 25 Jun 2011 18:52:37 +0000 (20:52 +0200)]
Factory: modify add_creator method
Adam Dickmeiss [Sat, 25 Jun 2011 18:48:42 +0000 (20:48 +0200)]
Refactor MP main a little and clean up
Adam Dickmeiss [Fri, 24 Jun 2011 11:03:56 +0000 (13:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Fri, 24 Jun 2011 11:03:45 +0000 (13:03 +0200)]
zoom config: local fake CF target
Adam Dickmeiss [Fri, 24 Jun 2011 11:02:41 +0000 (13:02 +0200)]
zoom filter schema: Update for CF-stuff.
Adam Dickmeiss [Fri, 24 Jun 2011 10:37:59 +0000 (12:37 +0200)]
zoom: For non-CF targets database arguments are parsed.
User may supply db,user=myuser&password=mypass for non-CF targets.
and these values override what's given the authentication from
the target profile.
Adam Dickmeiss [Fri, 24 Jun 2011 10:37:59 +0000 (12:37 +0200)]
For non-CF targets database arguments are parsed.
User may supply db,user=myuser&password=mypass for non-CF targets.
and these values override what's given the authentication from
the target profile.
Adam Dickmeiss [Fri, 24 Jun 2011 09:57:10 +0000 (11:57 +0200)]
config-zoom: set element_transform to pz2
Adam Dickmeiss [Fri, 24 Jun 2011 09:55:03 +0000 (11:55 +0200)]
session_shared: fix ref to freed memory
Would occur if a search response had non-surrogate diagnostics.
Adam Dickmeiss [Thu, 23 Jun 2011 10:56:22 +0000 (12:56 +0200)]
zoom: configurable element sets for record transforms.
The target profile based transform is specified by element_transform
in element torus of of the ZOOM filter configuration ; default value
is "pz2". Target profile based retrieval is specified by element_raw
in configuration. It will perform same steps, but omit the XSL transform.
Default value is "raw".
Adam Dickmeiss [Wed, 22 Jun 2011 19:07:07 +0000 (19:07 +0000)]
zoom: element set is omitted if not set in profile
But only if pz2 transform is in effect. Previously the default
element set was to "F".
Adam Dickmeiss [Wed, 22 Jun 2011 13:55:23 +0000 (15:55 +0200)]
zoom doc: spell fix
Adam Dickmeiss [Wed, 22 Jun 2011 13:55:13 +0000 (15:55 +0200)]
No tab
Adam Dickmeiss [Wed, 22 Jun 2011 13:31:03 +0000 (15:31 +0200)]
pz22usi.xsl not maintained in MP
Adam Dickmeiss [Wed, 22 Jun 2011 12:57:29 +0000 (14:57 +0200)]
Version 1.2.8
Adam Dickmeiss [Wed, 22 Jun 2011 12:52:25 +0000 (14:52 +0200)]
Route may be given for each port in frontend_net
Adam Dickmeiss [Wed, 22 Jun 2011 11:51:33 +0000 (13:51 +0200)]
Update version to metaproxy.spec
Adam Dickmeiss [Wed, 22 Jun 2011 11:22:50 +0000 (13:22 +0200)]
Version 1.2.7
Adam Dickmeiss [Wed, 22 Jun 2011 11:17:43 +0000 (13:17 +0200)]
zoom: more documentation
Adam Dickmeiss [Wed, 22 Jun 2011 11:17:10 +0000 (13:17 +0200)]
Update generated stylesheets rng, xsd
Adam Dickmeiss [Wed, 22 Jun 2011 10:01:25 +0000 (12:01 +0200)]
zoom: allow local torus record.
One or more Torus records may be specified in local zoom configuration.
The torus element may include a records element which holds zero or
record elements.
Adam Dickmeiss [Tue, 21 Jun 2011 19:33:46 +0000 (21:33 +0200)]
Schema and beginnings of man page for zoom filter
Adam Dickmeiss [Tue, 21 Jun 2011 19:33:01 +0000 (21:33 +0200)]
Remove include of torus.hpp
Adam Dickmeiss [Tue, 21 Jun 2011 13:16:41 +0000 (15:16 +0200)]
Update m4 (for xcinclude)
Adam Dickmeiss [Tue, 21 Jun 2011 12:53:57 +0000 (14:53 +0200)]
Doc: module ref entries include RelagNG schema
In other words.. schema for each module is included in man page for
each module.
Adam Dickmeiss [Tue, 21 Jun 2011 11:27:08 +0000 (13:27 +0200)]
Do not require requestsyntax to be set for pp2 transforms
Some searchables do not have requestsyntax set at least those
where that does not make sense, eg SOLR.
Adam Dickmeiss [Tue, 21 Jun 2011 09:25:01 +0000 (11:25 +0200)]
Split config schemas to separate files
This is to have one schema file per filter.
Adam Dickmeiss [Mon, 20 Jun 2011 09:00:34 +0000 (11:00 +0200)]
configure checks for libxml2/libxslt
Adam Dickmeiss [Mon, 20 Jun 2011 08:48:30 +0000 (10:48 +0200)]
Convert queries to SOLR if enabled - fixes bug 4334.
Adam Dickmeiss [Mon, 20 Jun 2011 08:37:10 +0000 (10:37 +0200)]
configure: depend on yazp 1.2.6
Adam Dickmeiss [Fri, 17 Jun 2011 10:18:47 +0000 (12:18 +0200)]
Allow local ccl maps to be given (as base)
Element cclmap specifies a CCL mapping to a core CCL bibset and is
used as base point for all search sessions. This feature requires
new YAZ utiolity ccl_qual_dup.
Adam Dickmeiss [Fri, 17 Jun 2011 08:24:19 +0000 (10:24 +0200)]
Merge branch 'zoom_filter'
Adam Dickmeiss [Thu, 16 Jun 2011 18:16:31 +0000 (20:16 +0200)]
Remove two yaz_log calls
Adam Dickmeiss [Thu, 16 Jun 2011 18:14:01 +0000 (20:14 +0200)]
Turn ZOOM error into Bib-1 diagnostic 2
And set addinfo for bib-1 to ZOOM error message. Increase
ZOOM timeout to 40 seconds, which is somewhat more than 30!
Adam Dickmeiss [Thu, 16 Jun 2011 13:27:22 +0000 (15:27 +0200)]
other fix for database arguments
Adam Dickmeiss [Thu, 16 Jun 2011 12:48:39 +0000 (14:48 +0200)]
Merge branch 'master' into zoom_filter
Conflicts:
src/filter_zoom.cpp
Adam Dickmeiss [Thu, 16 Jun 2011 12:29:16 +0000 (14:29 +0200)]
zoom: For SRU targets convert to CQL
Still missing is solr targets.
Adam Dickmeiss [Thu, 16 Jun 2011 11:42:34 +0000 (13:42 +0200)]
Don't use Torus database arguments if already given
If database arguments are given for zoom (dbbase,args) , then
the Torus is not used for generating the database args (already
given). This is as a whole, not per-argument.
Adam Dickmeiss [Thu, 16 Jun 2011 11:04:44 +0000 (13:04 +0200)]
Use base db for Torus lookup - up to comma - if given
Adam Dickmeiss [Thu, 16 Jun 2011 10:57:42 +0000 (12:57 +0200)]
zoom config: No CCL field for cql.{anywhere,serverChoice}
Adam Dickmeiss [Thu, 16 Jun 2011 10:56:39 +0000 (12:56 +0200)]
zoom: attribute "ccl" optional for fieldmap
And the semantics is that no CCL field is used . The term qualifier
will be used - if defined.
Adam Dickmeiss [Thu, 16 Jun 2011 10:44:40 +0000 (12:44 +0200)]
zoom: work on predefined ccl maps
Adam Dickmeiss [Thu, 16 Jun 2011 08:02:57 +0000 (10:02 +0200)]
Update m4
Mike Taylor [Wed, 15 Jun 2011 21:52:21 +0000 (22:52 +0100)]
Add <fieldmap>s for the remaining CQL indexes mentioned in section 6.2
of the EBSCO USI specification: rec.identifier, net.path, dc.language,
dc.format, id.fullText, id.peerReviewed, dc.description, dc.source,
dc.publisher and id.seriesTitle.
Adam Dickmeiss [Wed, 15 Jun 2011 19:38:08 +0000 (21:38 +0200)]
virt_db reports init diagnostics when rejected
This fixes bug 4280.
Adam Dickmeiss [Wed, 15 Jun 2011 19:24:02 +0000 (21:24 +0200)]
Implement CQL to CCL fieldmap, bug #4336
So far I have:
<fieldmap cql="cql.anywhere" ccl="term"/>
<fieldmap cql="cql.serverChoice" ccl="term"/>
<fieldmap cql="dc.creator" ccl="au"/>
<fieldmap cql="dc.title" ccl="ti"/>
<fieldmap cql="dc.subject" ccl="su"/>
<fieldmap cql="bash.isbn" ccl="isbn"/>
<fieldmap cql="bash.issn" ccl="issn"/>
<fieldmap cql="dc.date" ccl="date"/>
Adam Dickmeiss [Wed, 15 Jun 2011 12:48:08 +0000 (14:48 +0200)]
Update pz22usi.xsl
Adam Dickmeiss [Wed, 15 Jun 2011 12:33:08 +0000 (14:33 +0200)]
Version 1.2.6
Adam Dickmeiss [Wed, 15 Jun 2011 09:01:29 +0000 (11:01 +0200)]
zoom: tweak CCL to Z39.50 diagnostics.
Adam Dickmeiss [Wed, 15 Jun 2011 08:30:10 +0000 (10:30 +0200)]
Enable session_shared for zoom config
Adam Dickmeiss [Wed, 15 Jun 2011 08:20:13 +0000 (10:20 +0200)]
usi xsl: handle more fields
Adam Dickmeiss [Tue, 14 Jun 2011 20:41:55 +0000 (22:41 +0200)]
Enable SRU for zoom filter config
Adam Dickmeiss [Tue, 14 Jun 2011 20:38:34 +0000 (22:38 +0200)]
elem usi gets converted to pz2
Adam Dickmeiss [Tue, 14 Jun 2011 20:38:13 +0000 (22:38 +0200)]
Add pazpar2 to usi xsl
Adam Dickmeiss [Tue, 14 Jun 2011 13:26:31 +0000 (15:26 +0200)]
zoom: xsldir setting (attribute for torus element)
Adam Dickmeiss [Tue, 14 Jun 2011 13:02:08 +0000 (15:02 +0200)]
No torus class anymore
Adam Dickmeiss [Tue, 14 Jun 2011 12:50:28 +0000 (14:50 +0200)]
zoom: Use udb and query only one searchable
Adam Dickmeiss [Tue, 14 Jun 2011 11:27:32 +0000 (13:27 +0200)]
zoom: handle cf{Auth,Proxy,SubDb}
Adam Dickmeiss [Tue, 14 Jun 2011 10:59:42 +0000 (12:59 +0200)]
zoom: Handle authentication element
Adam Dickmeiss [Tue, 14 Jun 2011 10:48:37 +0000 (12:48 +0200)]
Ignore useTurboMarc
Adam Dickmeiss [Fri, 10 Jun 2011 12:30:54 +0000 (14:30 +0200)]
Filter zoom accepts CQL as well
Uses YAZ utility cql_to_ccl.
Adam Dickmeiss [Thu, 9 Jun 2011 11:02:55 +0000 (13:02 +0200)]
Make 3 classes: noncopyable
Adam Dickmeiss [Thu, 9 Jun 2011 10:54:46 +0000 (12:54 +0200)]
Remove a few yaz_log-lines
Adam Dickmeiss [Thu, 9 Jun 2011 10:52:11 +0000 (12:52 +0200)]
zoom filter: honor cclmap_*-fields
CCL parsing will be performed for CCL queries in Z39.50 (Type-2).
Adam Dickmeiss [Wed, 8 Jun 2011 19:11:23 +0000 (21:11 +0200)]
Ignore libmetaproxy3
Adam Dickmeiss [Wed, 8 Jun 2011 18:53:40 +0000 (20:53 +0200)]
Retain old mp::util::piggyback (used by CF)
Adam Dickmeiss [Wed, 8 Jun 2011 14:32:58 +0000 (16:32 +0200)]
Sample config for new zoom filter
Adam Dickmeiss [Wed, 8 Jun 2011 14:30:47 +0000 (16:30 +0200)]
Retrieval transform operational
Settings useTurboMarc, elementSet, recordEncoding, requestSyntax,
transform are in use. They are currently ONLY in use if
record syntax is XML and element set is "pz2" and requestSyntax
is defined (in torus config). In other cases, the zoom filter
is more or less pass through with Z39.50 settings taking effect
(syntax, elementSetName).
Adam Dickmeiss [Wed, 8 Jun 2011 14:30:12 +0000 (16:30 +0200)]
No need to pass children
Adam Dickmeiss [Wed, 8 Jun 2011 14:29:36 +0000 (16:29 +0200)]
get_{bool,int} reads childen node
Adam Dickmeiss [Wed, 8 Jun 2011 11:45:16 +0000 (13:45 +0200)]
Filter zoom does retrieval
Adam Dickmeiss [Tue, 7 Jun 2011 12:58:16 +0000 (14:58 +0200)]
Filter zoom reads Torus info and searches
Settings from torus: id, zurl, queryEncoding and sru are honored
and Type-1 searches takes place. THere is a way to use a local
searchable in the zoom filter config.
Adam Dickmeiss [Mon, 6 Jun 2011 12:28:28 +0000 (14:28 +0200)]
Further work on zoom filter
Adam Dickmeiss [Mon, 6 Jun 2011 11:43:58 +0000 (13:43 +0200)]
Start work on on ZOOM filter
This filter is an alternative to z3950_client, just based on ZOOM
instead and with the ability to set ZOOM options.
Adam Dickmeiss [Wed, 1 Jun 2011 13:34:16 +0000 (15:34 +0200)]
virt_db: use query_encoding for search and scan
Adam Dickmeiss [Wed, 1 Jun 2011 13:19:28 +0000 (15:19 +0200)]
Ignore generated file: metaproxy-config
Adam Dickmeiss [Wed, 1 Jun 2011 12:08:32 +0000 (14:08 +0200)]
Reading torus2dev instead
Adam Dickmeiss [Wed, 1 Jun 2011 12:07:11 +0000 (14:07 +0200)]
virt_db: work on query_encoding
Not complete; only reading configuration.
Adam Dickmeiss [Wed, 1 Jun 2011 10:19:48 +0000 (12:19 +0200)]
virt_db: make databases available as virtual targets
Adam Dickmeiss [Wed, 1 Jun 2011 10:19:08 +0000 (12:19 +0200)]
Torus: add get_doc method
Adam Dickmeiss [Tue, 31 May 2011 13:29:47 +0000 (15:29 +0200)]
Start work on Torus extension for virt_db
Adam Dickmeiss [Thu, 26 May 2011 10:19:00 +0000 (12:19 +0200)]
Fix http_file example
Adam Dickmeiss [Tue, 24 May 2011 17:52:09 +0000 (17:52 +0000)]
RPM: add /etc/sysconfig/metaproxy to files sect
Adam Dickmeiss [Tue, 24 May 2011 17:32:03 +0000 (19:32 +0200)]
RPM: metaproxy pkg init.d defaults
The metaproxy package provides /etc/sysconfig/metaproxy .
Adam Dickmeiss [Mon, 16 May 2011 11:49:08 +0000 (13:49 +0200)]
buildconf.sh: update package list for compiling with sources
Adam Dickmeiss [Mon, 16 May 2011 11:06:17 +0000 (13:06 +0200)]
Fix description of the record_filter, bug 894
Adam Dickmeiss [Fri, 6 May 2011 12:53:12 +0000 (14:53 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Fri, 6 May 2011 09:53:58 +0000 (09:53 +0000)]
Version 1.2.5.
Adam Dickmeiss [Fri, 6 May 2011 09:11:55 +0000 (11:11 +0200)]
Update NEWS
Adam Dickmeiss [Fri, 29 Apr 2011 11:27:38 +0000 (11:27 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Conflicts:
IDMETA
Adam Dickmeiss [Fri, 29 Apr 2011 11:23:28 +0000 (11:23 +0000)]
Add Debian wheezy, Ubuntu natty
Adam Dickmeiss [Wed, 13 Apr 2011 13:34:15 +0000 (15:34 +0200)]
z3950_client filter: force_apdu facility
Filter z3950_client may be configured to always send a close APDU
to backend target when connection/session is closed. This will only
happen if close APDU is not already sent. Enabled by configuration
for z3950_client (force_close).