Adam Dickmeiss [Tue, 16 Jul 2013 13:53:56 +0000 (15:53 +0200)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Tue, 16 Jul 2013 13:02:30 +0000 (15:02 +0200)]
Only fire one non-timeout event for Z39.50/SRU clients
This gives faster response times for HTTP request to Pazpar2.
Adam Dickmeiss [Tue, 16 Jul 2013 12:41:58 +0000 (14:41 +0200)]
Make use of threaded resolver
This makes Pazpar2 much snappier when it's been sleeping for a while.
In particular, initial search command is reduced from several seconds
(on large sets), to < 1 sec.
Adam Dickmeiss [Tue, 16 Jul 2013 12:40:53 +0000 (14:40 +0200)]
Make url part of connection rather than host PAZ-880
This makes better use of threaded resolver (if enabled).
Adam Dickmeiss [Tue, 16 Jul 2013 12:40:37 +0000 (14:40 +0200)]
Make perform_getaddrinfo static
Adam Dickmeiss [Mon, 15 Jul 2013 14:35:47 +0000 (16:35 +0200)]
resolver thread checks for dead session PAZ-879
Adam Dickmeiss [Fri, 12 Jul 2013 11:00:09 +0000 (13:00 +0200)]
cf.xsl: relay item due (date)
Adam Dickmeiss [Thu, 11 Jul 2013 12:06:33 +0000 (14:06 +0200)]
Log socket ID with Response/Response
This makes it easy to track socket/connection usage.
Adam Dickmeiss [Mon, 8 Jul 2013 12:25:14 +0000 (14:25 +0200)]
Merge branch 'master' into session_lock
Conflicts:
src/session.c
src/session.h
Adam Dickmeiss [Fri, 14 Jun 2013 09:28:58 +0000 (11:28 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 14 Jun 2013 09:18:03 +0000 (11:18 +0200)]
Version 1.6.32
Adam Dickmeiss [Fri, 14 Jun 2013 09:02:06 +0000 (11:02 +0200)]
Doc reformat; remove trailing white space
Adam Dickmeiss [Fri, 14 Jun 2013 08:55:13 +0000 (10:55 +0200)]
Mention snippets
Adam Dickmeiss [Fri, 14 Jun 2013 08:47:07 +0000 (10:47 +0200)]
Merge branch 'master' into paz-732
Mike Taylor [Thu, 13 Jun 2013 14:35:45 +0000 (15:35 +0100)]
Add big 'DO NOT EDIT, this file is obsolete' header comment to pz2.js, and make it read-only
Adam Dickmeiss [Wed, 12 Jun 2013 13:42:52 +0000 (15:42 +0200)]
No longer build for Ubuntu natty
Adam Dickmeiss [Tue, 11 Jun 2013 09:41:17 +0000 (11:41 +0200)]
Require YAZ 4.2.58
due new functions icu_iter_get_org_info and icu_chain_get_org_info.
Adam Dickmeiss [Tue, 11 Jun 2013 08:41:14 +0000 (10:41 +0200)]
Tests using snippets
Adam Dickmeiss [Tue, 11 Jun 2013 08:36:00 +0000 (10:36 +0200)]
Snippets: multi words; less logging
Adam Dickmeiss [Wed, 5 Jun 2013 13:45:25 +0000 (15:45 +0200)]
Use YAZ' new icu_iter_get_org_info for snippets
Adam Dickmeiss [Wed, 29 May 2013 20:25:14 +0000 (22:25 +0200)]
Change repr of service XML
from XML nodes to serialized (string). This reduces memory overhead
for service structure considerably.
Adam Dickmeiss [Tue, 28 May 2013 12:55:21 +0000 (14:55 +0200)]
Update NEWS
Adam Dickmeiss [Tue, 28 May 2013 12:37:51 +0000 (14:37 +0200)]
Change logging of HTTP response
Adam Dickmeiss [Tue, 28 May 2013 12:08:05 +0000 (14:08 +0200)]
Time HTTP requests
Adam Dickmeiss [Tue, 28 May 2013 08:45:47 +0000 (10:45 +0200)]
Tweak log msg for http sessions use
Adam Dickmeiss [Tue, 28 May 2013 08:45:21 +0000 (10:45 +0200)]
Reformat
Adam Dickmeiss [Tue, 28 May 2013 08:18:54 +0000 (10:18 +0200)]
session/client counting utils to header
Adam Dickmeiss [Mon, 27 May 2013 18:56:30 +0000 (20:56 +0200)]
Facility for test script to post-wait
If WAIT_PAZPAR2 is set, it defines number of minuters to wait
before shutting down pazpar2 daemon for test.
Adam Dickmeiss [Mon, 27 May 2013 18:23:41 +0000 (20:23 +0200)]
Remove dead code WRT client total counting
Adam Dickmeiss [Mon, 27 May 2013 18:23:16 +0000 (20:23 +0200)]
Fix leak WRT client ref count
Adam Dickmeiss [Mon, 27 May 2013 18:22:12 +0000 (20:22 +0200)]
Fix memory leak in service command
Adam Dickmeiss [Mon, 27 May 2013 10:41:26 +0000 (12:41 +0200)]
service XML: avoid wrapping service element
and just return service XML as is (it already has a service element
as root).
Adam Dickmeiss [Mon, 27 May 2013 10:32:31 +0000 (12:32 +0200)]
Document service command
Adam Dickmeiss [Mon, 27 May 2013 08:05:23 +0000 (10:05 +0200)]
Returns service XML now
Adam Dickmeiss [Mon, 27 May 2013 07:37:57 +0000 (09:37 +0200)]
First work on returning service XML
Adam Dickmeiss [Fri, 24 May 2013 08:04:54 +0000 (10:04 +0200)]
Version 1.6.31 with more fixes
Adam Dickmeiss [Fri, 24 May 2013 08:03:20 +0000 (10:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 24 May 2013 07:22:45 +0000 (09:22 +0200)]
Version 1.6.31
Adam Dickmeiss [Fri, 24 May 2013 07:20:40 +0000 (09:20 +0200)]
No longer in use
Adam Dickmeiss [Fri, 24 May 2013 06:49:04 +0000 (08:49 +0200)]
Update NEWS
Wolfram Schneider [Thu, 23 May 2013 19:04:08 +0000 (19:04 +0000)]
english typo
Mike Taylor [Thu, 23 May 2013 15:49:46 +0000 (16:49 +0100)]
Fix documentation of pz:sru setting: the value "soap", not "srw", is
used to select the use of the SRW protocol, as determined from
get_sru_mode_from_string() in yaz/src/zoom-c.c
This resolves a long-standing conflict between the documentation for
pazpar2 and MKAdmin.
Adam Dickmeiss [Thu, 23 May 2013 13:10:55 +0000 (15:10 +0200)]
Document dynamic rank
Adam Dickmeiss [Thu, 23 May 2013 11:57:50 +0000 (13:57 +0200)]
Test for case insensitive local limit
Adam Dickmeiss [Thu, 23 May 2013 11:54:43 +0000 (13:54 +0200)]
local limit uses "mergekey" normalization PAZ-774
This makes the local limits case insensitive by default. When
"mergekey" is not, the a_z (ASCII) normalization is used.
Adam Dickmeiss [Thu, 23 May 2013 11:50:36 +0000 (13:50 +0200)]
Remove file not in use by tests
Adam Dickmeiss [Tue, 21 May 2013 14:13:41 +0000 (16:13 +0200)]
Show attributes in xml_context function
Adam Dickmeiss [Tue, 21 May 2013 13:48:03 +0000 (15:48 +0200)]
Test using dynamic rank
Adam Dickmeiss [Tue, 21 May 2013 13:47:27 +0000 (15:47 +0200)]
Dynamic ranking PAZ-869
Adam Dickmeiss [Tue, 21 May 2013 12:24:25 +0000 (14:24 +0200)]
Adjustments to log msg of session_sort_unlocked
Adam Dickmeiss [Tue, 21 May 2013 12:20:50 +0000 (14:20 +0200)]
Minor refactor of session_sort_unlocked
Adam Dickmeiss [Mon, 20 May 2013 18:58:16 +0000 (18:58 +0000)]
Stable results (activeclients=0)
Adam Dickmeiss [Sat, 18 May 2013 21:16:06 +0000 (23:16 +0200)]
Use sockaddr_storage in accept call PAZ-872
Due struct sockaddr is not big enough for IPV6 stuff.
Adam Dickmeiss [Fri, 17 May 2013 12:59:01 +0000 (14:59 +0200)]
Fix signed/unsigned checksum problem PAZ-871
Adam Dickmeiss [Fri, 17 May 2013 12:44:38 +0000 (14:44 +0200)]
marcmap: fix for fopen fail
Adam Dickmeiss [Fri, 17 May 2013 12:43:17 +0000 (14:43 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 17 May 2013 12:40:40 +0000 (14:40 +0200)]
marcmap: fix type for ch in use of getc
getc returns EOF (usually -1) on EOF, so we must be sure to
use a type that can hold it.
Adam Dickmeiss [Fri, 17 May 2013 12:12:26 +0000 (14:12 +0200)]
XML context for errors, no set element for service
It's not implemented.
Adam Dickmeiss [Fri, 17 May 2013 09:38:02 +0000 (11:38 +0200)]
tests: poll for stable results
For results we wait for, repeat command until it matches against
a stable result.
Adam Dickmeiss [Fri, 17 May 2013 09:37:21 +0000 (11:37 +0200)]
Wait for separate session bytarget response
Adam Dickmeiss [Thu, 16 May 2013 14:00:27 +0000 (16:00 +0200)]
HTTP server: host=@ listens on IPV6 and IPV4 if possible
Also, allow ports to be given as names (not just integers).
Fix @-notation on systems that don't support IPV6 sockets.
Adam Dickmeiss [Wed, 8 May 2013 21:21:15 +0000 (23:21 +0200)]
Fix regression for mergekey creation
Due to xmlNodeListGetString returning null on some platforms
and empty "" on others (probably depends on Libxml2 version).
Adam Dickmeiss [Mon, 6 May 2013 14:00:04 +0000 (16:00 +0200)]
Clear relevancy info when result set is clear'd
Adam Dickmeiss [Mon, 6 May 2013 13:35:57 +0000 (15:35 +0200)]
Allow mergekey to be given for command=search
Adam Dickmeiss [Mon, 6 May 2013 13:12:51 +0000 (15:12 +0200)]
Commit proper test result for dynamic mergekey
Adam Dickmeiss [Mon, 6 May 2013 12:56:19 +0000 (14:56 +0200)]
Dynamic mergekey PAZ-868
Adam Dickmeiss [Fri, 26 Apr 2013 09:27:32 +0000 (11:27 +0200)]
Version 1.6.30
Adam Dickmeiss [Fri, 26 Apr 2013 09:27:24 +0000 (11:27 +0200)]
Fix dist rule (www/phone gone)
Adam Dickmeiss [Fri, 26 Apr 2013 09:26:06 +0000 (11:26 +0200)]
RPM: mkc settings
Adam Dickmeiss [Thu, 25 Apr 2013 12:06:37 +0000 (14:06 +0200)]
Use controlled URLs for simpleserver and MKC
Adam Dickmeiss [Thu, 25 Apr 2013 11:53:12 +0000 (13:53 +0200)]
Remove section "Connecting to non-standard resources"
This section does not contain relevant information today.
We have section "Connectors to non-standard databases" still.
Adam Dickmeiss [Thu, 25 Apr 2013 11:48:37 +0000 (13:48 +0200)]
Update doc about non-standard databases PAZ-864
The section "Connectors to non-standard databases" has more up-to-date
material. A new section "Pazpar2 and MasterKey Connect" contains
information about mkc configuration.
Adam Dickmeiss [Thu, 25 Apr 2013 10:04:43 +0000 (12:04 +0200)]
Add MKC configuration PAZ-864
service mkc.xml is in services-available . It uses settings in
settings/mkc .
Adam Dickmeiss [Thu, 25 Apr 2013 09:36:10 +0000 (11:36 +0200)]
Update test_sort results
Seems like optimizing Solr changed the score values returned.
Adam Dickmeiss [Wed, 24 Apr 2013 20:01:03 +0000 (22:01 +0200)]
Use separate result var for getnameinfo PAZ-863
Dennis Schafroth [Wed, 24 Apr 2013 18:59:18 +0000 (20:59 +0200)]
Remove select since it can be both search and term command
Dennis Schafroth [Wed, 24 Apr 2013 18:56:58 +0000 (20:56 +0200)]
Fix to work even when host name is shorter than IP number and on OS X in general, which nulls out host area
Adam Dickmeiss [Wed, 24 Apr 2013 13:17:20 +0000 (15:17 +0200)]
Allow timeformat for log to be specified
with option -m (as Metaproxy and YAZ GFS). Suggested by Sven Porst.
Adam Dickmeiss [Mon, 22 Apr 2013 14:37:14 +0000 (16:37 +0200)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Mon, 22 Apr 2013 14:37:05 +0000 (16:37 +0200)]
Fix description of pazpar2-dbg
Adam Dickmeiss [Mon, 22 Apr 2013 14:25:29 +0000 (16:25 +0200)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Mon, 22 Apr 2013 13:10:18 +0000 (15:10 +0200)]
Debug package pazpar2-dbg. PAZ-867
Adam Dickmeiss [Wed, 17 Apr 2013 11:36:42 +0000 (13:36 +0200)]
Merge branch 'master' into session_lock
Conflicts:
src/session.c
Adam Dickmeiss [Wed, 17 Apr 2013 11:28:51 +0000 (13:28 +0200)]
Fix NULL ptr reference of se->relevance
If a new search is initiated and a CCL query fails to parse,
then session->relevance becomes NULL.
Adam Dickmeiss [Wed, 17 Apr 2013 08:57:31 +0000 (10:57 +0200)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Wed, 17 Apr 2013 08:57:01 +0000 (10:57 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 17 Apr 2013 08:56:08 +0000 (10:56 +0200)]
Document POSTing of settings/services PAZ-865
Dennis Schafroth [Fri, 12 Apr 2013 11:51:00 +0000 (13:51 +0200)]
Remove /select from solr targets
Dennis Schafroth [Fri, 12 Apr 2013 11:50:03 +0000 (13:50 +0200)]
Revert changes
Dennis Schafroth [Fri, 12 Apr 2013 11:30:58 +0000 (13:30 +0200)]
Revert the Solr target name change. Not important
Dennis Schafroth [Fri, 12 Apr 2013 10:41:42 +0000 (12:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Fri, 12 Apr 2013 10:39:52 +0000 (12:39 +0200)]
Remove the /select on Solr urls. Yaz appends handler depending if it is search or scan
Dennis Schafroth [Fri, 12 Apr 2013 10:33:27 +0000 (12:33 +0200)]
Remove the select part. Yaz will decide to do a search or scan and map it to search/term handler
Adam Dickmeiss [Wed, 10 Apr 2013 15:02:01 +0000 (17:02 +0200)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Fri, 5 Apr 2013 12:56:31 +0000 (14:56 +0200)]
Version 1.6.29
Adam Dickmeiss [Fri, 5 Apr 2013 12:56:19 +0000 (14:56 +0200)]
Fix ref to sortmap
Adam Dickmeiss [Fri, 5 Apr 2013 11:52:35 +0000 (13:52 +0200)]
Use getaddrinfo for HTTP listener
Allows Pazpar2 to listen on IPV6 addresses if host+port is given for
listen element. By default (no host), it still listens on IPV4 only.
Adam Dickmeiss [Wed, 3 Apr 2013 11:16:06 +0000 (13:16 +0200)]
Require yaz-ztest 4.2.52 for testing
Adam Dickmeiss [Wed, 3 Apr 2013 11:00:42 +0000 (13:00 +0200)]
Doc: more on pz:extendrecs and spell fix
Adam Dickmeiss [Wed, 3 Apr 2013 10:55:18 +0000 (12:55 +0200)]
Change semantics of pz:extendrecs
and allow for repeated fetches . pz:extendrecs is now the number
of extra records to fetch (was total count before).