Adam Dickmeiss [Mon, 25 Jan 2010 15:19:29 +0000 (16:19 +0100)]
New diagnostic: No service .
The new diagnostic 'no service' is returned if a service can not
be found (whether unnamed or given during init).
Adam Dickmeiss [Mon, 25 Jan 2010 15:15:11 +0000 (16:15 +0100)]
Enable default service before (re)starting pazpar2
Enable default service, default.xml, before starting Pazpar2 only
if there is no service already in /etc/pazpar2/services-enabled.
Adam Dickmeiss [Mon, 25 Jan 2010 12:28:16 +0000 (13:28 +0100)]
Put ICU char mapping in server.xml
The Debian server.xml now has ICU mappings attached to it. This serves
as defaults for services that do not define it themselves.
Adam Dickmeiss [Mon, 25 Jan 2010 12:20:24 +0000 (13:20 +0100)]
medium: merge=longest
Adam Dickmeiss [Mon, 25 Jan 2010 12:17:02 +0000 (13:17 +0100)]
Remove duplicate metadata: electronic-url
Adam Dickmeiss [Mon, 25 Jan 2010 10:09:35 +0000 (11:09 +0100)]
Fix spelling
Adam Dickmeiss [Mon, 25 Jan 2010 09:47:42 +0000 (10:47 +0100)]
Ignore *.substvars
Adam Dickmeiss [Mon, 25 Jan 2010 09:46:35 +0000 (10:46 +0100)]
Bump version
Adam Dickmeiss [Mon, 25 Jan 2010 09:46:24 +0000 (10:46 +0100)]
Win make: new xml/xslt versions
Adam Dickmeiss [Mon, 25 Jan 2010 09:45:22 +0000 (10:45 +0100)]
NSI: Use VS 2008 by default
Adam Dickmeiss [Mon, 25 Jan 2010 09:34:36 +0000 (10:34 +0100)]
Debian: build using libyaz4-dev
Adam Dickmeiss [Fri, 15 Jan 2010 13:04:38 +0000 (14:04 +0100)]
Fixed typo (bug #3153)
Adam Dickmeiss [Fri, 15 Jan 2010 12:51:52 +0000 (13:51 +0100)]
Deb postinst warns about obsolete pazpar2.cfg
Adam Dickmeiss [Fri, 15 Jan 2010 12:46:30 +0000 (13:46 +0100)]
Debian purge removes log + services enabled links
Adam Dickmeiss [Fri, 15 Jan 2010 12:35:51 +0000 (13:35 +0100)]
Remove settings (default.xml does it)
Adam Dickmeiss [Fri, 15 Jan 2010 12:30:33 +0000 (13:30 +0100)]
Bump Deb minor because of services change
Adam Dickmeiss [Fri, 15 Jan 2010 12:20:34 +0000 (13:20 +0100)]
Split services into separate files
The example configuration file pazpar2.cfg.dist now includes a default
service default.xml (part of etc). And default.xml includes
settings/edu.xml. The default.xml file (not to be confused with
settings/defaults.xml) is a template for jsdemo and other services.
The Debian package installs /etc/pazpar2/server.xml which is now
the main pazpar2 configuration (used to be called pazpar2.cfg).
server.xml includes services from /etc/pazpar2/services-enabled/*.xml .
The default.xml (from etc) is installed in /etc/pazpar2/services-available
and a symlink to it is created from services-enabled. The default.xml
service is unnamed and, thus, will be used by jsdemo and test1.
Adam Dickmeiss [Fri, 15 Jan 2010 11:34:12 +0000 (12:34 +0100)]
Fix msg about duplicate unnamed srv
Adam Dickmeiss [Fri, 15 Jan 2010 10:57:46 +0000 (11:57 +0100)]
Document "dump config" (option -d + option -t)
Adam Dickmeiss [Fri, 15 Jan 2010 09:51:40 +0000 (10:51 +0100)]
Rephrase pz:negotiation_charset doc
Adam Dickmeiss [Fri, 15 Jan 2010 09:43:30 +0000 (10:43 +0100)]
New setting pz:negotiation_charset .
Patch from Andrei V. Toutoukine: new setting pz:negotiation_charset
which specifies character set for Z39.50 Init.
Adam Dickmeiss [Fri, 15 Jan 2010 09:36:11 +0000 (10:36 +0100)]
Bump copyright year
Adam Dickmeiss [Fri, 15 Jan 2010 09:36:03 +0000 (10:36 +0100)]
Bump version for Windows
Adam Dickmeiss [Fri, 15 Jan 2010 09:13:46 +0000 (10:13 +0100)]
Bump version to 1.2.4
Adam Dickmeiss [Thu, 14 Jan 2010 15:14:36 +0000 (16:14 +0100)]
Update m4
Adam Dickmeiss [Thu, 14 Jan 2010 12:21:20 +0000 (13:21 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 14 Jan 2010 12:21:09 +0000 (13:21 +0100)]
Bump copyright year
Mike Taylor [Wed, 13 Jan 2010 15:39:13 +0000 (15:39 +0000)]
Interrim Debian version 1.2.3-3indexdata
Mike Taylor [Wed, 13 Jan 2010 15:30:45 +0000 (15:30 +0000)]
Add brief="yes" merge="unique" to the thumburl field.
Mike Taylor [Wed, 13 Jan 2010 14:16:06 +0000 (14:16 +0000)]
Interrim Debian package 1.2.3-2indexdata
Mike Taylor [Wed, 13 Jan 2010 14:14:41 +0000 (14:14 +0000)]
Towards 1.2.4
Mike Taylor [Wed, 13 Jan 2010 14:11:12 +0000 (14:11 +0000)]
Fix mapping to use existing pazpar2 fields:
callno -> callnumber
location -> locallocation
Mike Taylor [Wed, 13 Jan 2010 14:10:44 +0000 (14:10 +0000)]
Remove duplicate fields:
location (= existing locallocation)
callno (= existing callnumber)
Mike Taylor [Wed, 13 Jan 2010 14:02:18 +0000 (14:02 +0000)]
Add support for missing fields that the CF can provide as indicated by
$CF/builder/templates/search.cft: publisher, available, due, location,
callno, and score.
Mike Taylor [Wed, 13 Jan 2010 13:58:22 +0000 (13:58 +0000)]
Reorder <xsl:template> stanzas so that the generated fields are in the
same order as those of $CF/builder/templates/search.cft -- this makes
no difference to functionality, just makes it easier to keep the two
lists synchronised.
Mike Taylor [Wed, 13 Jan 2010 13:51:46 +0000 (13:51 +0000)]
Add support for missing fields that the CF can provide as indicated by
$CF/builder/templates/search.cft: publisher, available, due, location,
callno, and score.
Mike Taylor [Wed, 13 Jan 2010 12:32:02 +0000 (12:32 +0000)]
Void out unused return value from fwrite() to avoid compiler warnings.
Mike Taylor [Wed, 13 Jan 2010 12:31:43 +0000 (12:31 +0000)]
Void out unused return values from write() and read() to avoid
compiler warnings.
Mike Taylor [Fri, 8 Jan 2010 14:22:43 +0000 (14:22 +0000)]
Support thumburl.
Niels Erik Nielsen [Tue, 22 Dec 2009 22:23:24 +0000 (17:23 -0500)]
Adds flag for use or not of url proxy
Jakub Skoczen [Fri, 11 Dec 2009 11:15:10 +0000 (12:15 +0100)]
Parse journal subparts
Jakub Skoczen [Thu, 10 Dec 2009 16:17:29 +0000 (17:17 +0100)]
Add new elements
Jakub Skoczen [Thu, 10 Dec 2009 15:41:03 +0000 (16:41 +0100)]
Strip tabs
Jakub Skoczen [Thu, 10 Dec 2009 15:34:42 +0000 (16:34 +0100)]
Use en locale
Adam Dickmeiss [Thu, 10 Dec 2009 11:55:29 +0000 (12:55 +0100)]
Change encoding mergekey fields
Change encoding so harmonize with the "old" marc21.xsl mergekey
scheme. That is field and value pairs separated by space and with
no trailing space.
Adam Dickmeiss [Thu, 10 Dec 2009 11:41:34 +0000 (12:41 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Jakub Skoczen [Thu, 10 Dec 2009 11:39:58 +0000 (12:39 +0100)]
Add namespace def
Adam Dickmeiss [Thu, 10 Dec 2009 11:37:17 +0000 (12:37 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 10 Dec 2009 11:36:36 +0000 (12:36 +0100)]
Describe pz:xslt and the auto setting
Adam Dickmeiss [Thu, 10 Dec 2009 11:32:36 +0000 (12:32 +0100)]
Fix RPN to CQL mappings, i.e use string attributes
Jakub Skoczen [Thu, 10 Dec 2009 10:19:42 +0000 (11:19 +0100)]
Add citation element
Jakub Skoczen [Thu, 10 Dec 2009 10:15:38 +0000 (11:15 +0100)]
Remove mergekey declaration
Jakub Skoczen [Thu, 10 Dec 2009 10:11:57 +0000 (11:11 +0100)]
Move mergekey definition to pazpar2.cfg
Moves mergekey definition away from the normalization stylesheets and
defines a mergekey common for all target types in pazpar2.cfg.
Adam Dickmeiss [Tue, 1 Dec 2009 21:24:02 +0000 (22:24 +0100)]
Use Odr_int type for hit counts
Use the Odr_int type for hit counts. This is part of YAZ 3.0.47
and later and so configure checks for that.
Adam Dickmeiss [Tue, 24 Nov 2009 19:29:38 +0000 (20:29 +0100)]
Update test_normalize for skiparticle fix
Adam Dickmeiss [Tue, 24 Nov 2009 11:45:13 +0000 (12:45 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 24 Nov 2009 11:34:30 +0000 (12:34 +0100)]
Win32 makefile: dist depends nsi
Adam Dickmeiss [Tue, 24 Nov 2009 11:23:35 +0000 (12:23 +0100)]
Bump version, update NEWS
Adam Dickmeiss [Tue, 24 Nov 2009 11:19:35 +0000 (12:19 +0100)]
Metadata 'skiparticle works for ICU normalization
The skiparticle handling was only working for the 7-bit ASCII
normalization code before.
Mike Taylor [Thu, 19 Nov 2009 16:33:09 +0000 (16:33 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Mike Taylor [Thu, 19 Nov 2009 16:33:03 +0000 (16:33 +0000)]
Added error-reporting for the case where a HTTP response is 200 OK but
it does not contain any XML (for example because it is a
human-readable HTML page explaining what went wrong).
Removed obsolete CVS Id.
Adam Dickmeiss [Thu, 12 Nov 2009 19:48:49 +0000 (20:48 +0100)]
Update test result WRT marcmap
marcmap no longer produces a mergekey so a unique mergekey is
generated instead in test.
Jason Skomorowski [Wed, 11 Nov 2009 13:02:36 +0000 (08:02 -0500)]
explicitly state encoding as utf-8
that probably took long than it was worth, but we want the output the same as xsl!
Jason Skomorowski [Tue, 10 Nov 2009 15:00:56 +0000 (10:00 -0500)]
put root element in pz namespace in marcmap output
Jason Skomorowski [Thu, 5 Nov 2009 16:20:10 +0000 (11:20 -0500)]
I $ed where I should have *ed.
Jason Skomorowski [Thu, 5 Nov 2009 15:57:13 +0000 (10:57 -0500)]
MARC XML also includes MARC generally
Adam Dickmeiss [Wed, 4 Nov 2009 12:01:29 +0000 (13:01 +0100)]
Avoid useless temp
Adam Dickmeiss [Wed, 4 Nov 2009 12:00:34 +0000 (13:00 +0100)]
Testing: align test no and line no (_urls)
Adam Dickmeiss [Wed, 4 Nov 2009 11:56:39 +0000 (12:56 +0100)]
Testing: use standard IFS for test URLs
Use standard IFS instead of new-line for testing. This allow us
to have multiple items on one line, thus ensuring that line #x is
test_#x in test result.
Adam Dickmeiss [Wed, 4 Nov 2009 11:48:12 +0000 (12:48 +0100)]
Deal with empty fields for ranking
Avoid division by length=0 in relevance_countwords.
Adam Dickmeiss [Tue, 3 Nov 2009 14:08:44 +0000 (15:08 +0100)]
Update test results for new ranking
Adam Dickmeiss [Tue, 3 Nov 2009 14:03:41 +0000 (15:03 +0100)]
Modify length calculation for ranking
Use a different denominator (length) for per-field relevance
scoring.. Instead of length of all ranked fields we now use
length of individual fields (as if they were individual "free" text
fields). This will ensure that documents with a long field with no
match (say description) will not "hurt" a title match.
Adam Dickmeiss [Tue, 3 Nov 2009 12:15:27 +0000 (13:15 +0100)]
Remove dead code for relevancy (trie stuff)
Adam Dickmeiss [Fri, 30 Oct 2009 21:45:28 +0000 (22:45 +0100)]
Fix bytarget requests being stopped (bug #3087)
Context global activeClients is set to 1 when a search is initiated
to ensure that if bytarget is executed it will be continued if
no response has been returned which would set activeClients (show,
stat).
Adam Dickmeiss [Tue, 27 Oct 2009 08:25:28 +0000 (09:25 +0100)]
Update test result for new mergekey (marcmap)
Jason Skomorowski [Tue, 27 Oct 2009 02:40:49 +0000 (22:40 -0400)]
marcmap mergekey missed author.
Adam Dickmeiss [Mon, 26 Oct 2009 16:00:57 +0000 (17:00 +0100)]
Test return error if curl is not found
Adam Dickmeiss [Mon, 26 Oct 2009 09:20:49 +0000 (10:20 +0100)]
Update test results for diagnostic code
Sebastian Hammer [Fri, 23 Oct 2009 18:40:03 +0000 (18:40 +0000)]
Diagnostic member was not set on connection error. Fixed
Adam Dickmeiss [Tue, 20 Oct 2009 11:54:07 +0000 (13:54 +0200)]
New setting: pz:pqf_strftime
This setting does all what pqf_prefix does but more. It uses strftime
conversions and reserves %% for the original PQF.
Adam Dickmeiss [Tue, 20 Oct 2009 11:05:42 +0000 (13:05 +0200)]
Add test for custom attribute (description@tag)
Adam Dickmeiss [Tue, 20 Oct 2009 10:52:16 +0000 (12:52 +0200)]
Preserve pz:metadata attributes
Pazpar2 now preserves pz:metadata attributes for non-merged
elements. This allows custom attributes to be passed through
to a user interface from records.
Adam Dickmeiss [Tue, 20 Oct 2009 10:32:28 +0000 (12:32 +0200)]
Const value for record_metadata_init
Adam Dickmeiss [Tue, 20 Oct 2009 10:02:57 +0000 (12:02 +0200)]
Fix double xmlFree - occurred for XSLT failure
Adam Dickmeiss [Mon, 19 Oct 2009 14:50:57 +0000 (16:50 +0200)]
Fix Host header for SRU/SRW - bug #3069
Adam Dickmeiss [Fri, 16 Oct 2009 21:57:54 +0000 (23:57 +0200)]
Fix update settings for wildcard zurls
Adam Dickmeiss [Thu, 15 Oct 2009 10:12:44 +0000 (12:12 +0200)]
Refactor database code
Filter handling now in database.c.
Adam Dickmeiss [Thu, 15 Oct 2009 08:37:03 +0000 (10:37 +0200)]
Addd test case for per-session setting
Adam Dickmeiss [Thu, 15 Oct 2009 07:59:05 +0000 (09:59 +0200)]
Sessions may be added per-session.
Settings system refactoring which allows settings to be defined
per-session (session_database and database).
Adam Dickmeiss [Thu, 15 Oct 2009 07:58:07 +0000 (09:58 +0200)]
Use PAZPAR2_USE_VALGRIND for test
If PAZPAR2_USE_VALGRIND=true, valgrind will be used for a test, eg
PAZPAR2_USE_VALGRIND=true ./test_http.sh .
Adam Dickmeiss [Wed, 14 Oct 2009 14:32:24 +0000 (16:32 +0200)]
Test case for setting overrides
Adam Dickmeiss [Wed, 14 Oct 2009 14:29:36 +0000 (16:29 +0200)]
Settings, bytarget + db out-of-range check
Command bytarget with argument settings=1 will show settings
per target.. This is to be able to verify correct settings and
be able to test that they are correct. The database settings
array size is now also stored.. Problems with database settings
array is that if not carefull it will be too small (smaller
than dictionary per-service in settings).
Adam Dickmeiss [Wed, 14 Oct 2009 14:27:48 +0000 (16:27 +0200)]
Fix nasty bug of overrides not working
Adam Dickmeiss [Tue, 13 Oct 2009 13:55:46 +0000 (15:55 +0200)]
Deal with relevance values round-off case
Adam Dickmeiss [Tue, 13 Oct 2009 13:54:11 +0000 (15:54 +0200)]
Sometimes it takes 2 sec for Pazpar2 to stop
Adam Dickmeiss [Tue, 13 Oct 2009 11:48:58 +0000 (13:48 +0200)]
Make reclist sorting stable
Make reclist sorting stable by comparing mergekey for records if
relevance/title or other sorting criteria all match. This is merely
to ensure that our regressions tests works (reproducible output).
Adam Dickmeiss [Tue, 13 Oct 2009 11:28:50 +0000 (13:28 +0200)]
Dont include start,number for show tests
Adam Dickmeiss [Tue, 13 Oct 2009 11:13:05 +0000 (13:13 +0200)]
Reformat
Adam Dickmeiss [Tue, 13 Oct 2009 11:03:52 +0000 (13:03 +0200)]
Fix type of mergekey
Adam Dickmeiss [Tue, 13 Oct 2009 11:03:34 +0000 (13:03 +0200)]
Update to host website