Adam Dickmeiss [Wed, 20 Feb 2013 12:42:31 +0000 (13:42 +0100)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Wed, 20 Feb 2013 12:40:55 +0000 (13:40 +0100)]
Change log msg for Pazpart start/stop
Now using same style as Metaproxy, ie
Pazpar2 start SHA1 / Pazpar2 stop .
Adam Dickmeiss [Wed, 20 Feb 2013 11:58:13 +0000 (12:58 +0100)]
Log when session is created
Adam Dickmeiss [Wed, 20 Feb 2013 10:39:26 +0000 (11:39 +0100)]
Avoid dead-lock between host->mutex and session lock
Simply do not call non_block_events. It does nothing in the case
of a timeout.
Adam Dickmeiss [Fri, 8 Feb 2013 12:40:13 +0000 (13:40 +0100)]
Fix lock problem with command=bytarget&block=1
Adam Dickmeiss [Thu, 7 Feb 2013 13:21:05 +0000 (14:21 +0100)]
Change session locking further
Due to the record command hang fetch, the session locking scheme is
further simplified to _one_ place for call backs (non_block_events).
Adam Dickmeiss [Thu, 7 Feb 2013 12:43:35 +0000 (13:43 +0100)]
Merge branch 'master' into session_lock
Adam Dickmeiss [Thu, 7 Feb 2013 11:58:47 +0000 (12:58 +0100)]
Version 1.6.25
Adam Dickmeiss [Thu, 7 Feb 2013 11:45:46 +0000 (12:45 +0100)]
Add test of commmnd=record with esn specified
Adam Dickmeiss [Thu, 7 Feb 2013 11:42:01 +0000 (12:42 +0100)]
Fix hang of record with esn/syntax (2nd)
Command record with esn and/or syntax makes a definite retrieval.
If that hits a cached record it would not see record events from
ZOOM and handle those. This commit ensures that connection_continue
calls event handling function non_block_events if necessary.
Since the session is already locked in some cases, we must ensure
that non_block_events do not (again) block on session.
Adam Dickmeiss [Wed, 6 Feb 2013 13:16:30 +0000 (14:16 +0100)]
Make check works, no problems (yet) with threads
Adam Dickmeiss [Tue, 5 Feb 2013 14:56:35 +0000 (15:56 +0100)]
session lock work (completely untested)
Adam Dickmeiss [Tue, 5 Feb 2013 12:55:15 +0000 (13:55 +0100)]
Missing metadata elements added
Adam Dickmeiss [Fri, 1 Feb 2013 13:52:13 +0000 (14:52 +0100)]
Make a message to DEBUG
Adam Dickmeiss [Fri, 1 Feb 2013 13:49:53 +0000 (14:49 +0100)]
Add missing metadata for service generated by tmarc.xsl
These elements are generated by the XSL, but were not mentioned in
our default service: title-complete, title-uniform, has-fulltext,
oclc-number, system-control-nr.
Adam Dickmeiss [Thu, 31 Jan 2013 15:59:24 +0000 (16:59 +0100)]
Complete record match does not serve as error
Adam Dickmeiss [Thu, 31 Jan 2013 14:46:03 +0000 (15:46 +0100)]
Don't use local variable same_sort_order
It's replaced by client->same_search member.
Adam Dickmeiss [Tue, 22 Jan 2013 12:21:53 +0000 (13:21 +0100)]
Simplify show_range_start a bit
Adam Dickmeiss [Fri, 18 Jan 2013 13:29:22 +0000 (14:29 +0100)]
Version 1.6.24
Adam Dickmeiss [Fri, 18 Jan 2013 13:28:22 +0000 (14:28 +0100)]
Update NEWS
Adam Dickmeiss [Fri, 18 Jan 2013 12:39:40 +0000 (13:39 +0100)]
New merge attribute type: 'first'
which takes all metadata fields from first target that
returns the particular field.
Adam Dickmeiss [Tue, 8 Jan 2013 15:16:37 +0000 (16:16 +0100)]
Skip ICU based tests when ICU is disabled
And clean up the testing scripts as well.
Adam Dickmeiss [Sun, 6 Jan 2013 15:26:59 +0000 (16:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 2 Jan 2013 11:52:37 +0000 (12:52 +0100)]
Version 1.6.23
Adam Dickmeiss [Wed, 2 Jan 2013 11:52:23 +0000 (12:52 +0100)]
Add quantal
Adam Dickmeiss [Wed, 2 Jan 2013 11:51:42 +0000 (12:51 +0100)]
Add centos6
Adam Dickmeiss [Wed, 2 Jan 2013 11:31:57 +0000 (12:31 +0100)]
Update NEWS
Adam Dickmeiss [Wed, 2 Jan 2013 11:22:27 +0000 (12:22 +0100)]
Bump copyright year
Adam Dickmeiss [Wed, 2 Jan 2013 11:12:07 +0000 (12:12 +0100)]
pp2client calls stat and info
Adam Dickmeiss [Wed, 2 Jan 2013 11:07:50 +0000 (12:07 +0100)]
Extend info command with hostname and YAZ SHA1
Indent results for both command stat and info.
Adam Dickmeiss [Fri, 28 Dec 2012 14:29:28 +0000 (15:29 +0100)]
Remove log msg
Adam Dickmeiss [Fri, 28 Dec 2012 14:15:52 +0000 (15:15 +0100)]
Avoid buffer overrun by "long" URLs.
Adam Dickmeiss [Fri, 28 Dec 2012 14:11:42 +0000 (15:11 +0100)]
Only add http:// for SRU if not already there
This is to allow https or other method to be given. Similar to
MP-425.
Adam Dickmeiss [Mon, 24 Dec 2012 10:37:28 +0000 (11:37 +0100)]
1.6.22-4indexdata
Adam Dickmeiss [Mon, 24 Dec 2012 10:32:33 +0000 (11:32 +0100)]
Fix problem with blocked show
Make sure that reclist_get_num_records returns >0 result if record
list is non empty. This is to ensure that client_got_records fires
session watches (SESSIN_WATCH_SHOW, ..).
Adam Dickmeiss [Fri, 14 Dec 2012 16:24:31 +0000 (17:24 +0100)]
1.6.22-3indexdata
Adam Dickmeiss [Fri, 14 Dec 2012 16:05:23 +0000 (17:05 +0100)]
Allow merge on merged content
The new configuration metadata element, limitcluster, configures
that a metadata element (name) be used as limit name for search.
Applies to the whole service (ie all targets), unlike pz:limitmap
which is configured per-target (database).
Adam Dickmeiss [Tue, 11 Dec 2012 13:13:23 +0000 (14:13 +0100)]
Harden exit command
May only be executed in debug mode (-X option).
Adam Dickmeiss [Tue, 11 Dec 2012 11:57:30 +0000 (12:57 +0100)]
1.6.22-2indexdata
Adam Dickmeiss [Tue, 11 Dec 2012 11:53:19 +0000 (12:53 +0100)]
Call bytarget in test script
Adam Dickmeiss [Tue, 11 Dec 2012 11:51:11 +0000 (12:51 +0100)]
Produce diagnostic when database times out
Some targets may be quite slow during search or record retrieval.
This commit ensure that "timeout" ZOOM diagnostic 10007 is produced
for those.
Adam Dickmeiss [Tue, 11 Dec 2012 10:05:01 +0000 (11:05 +0100)]
Remove 2nd pz:apdulog from testserver
Adam Dickmeiss [Fri, 7 Dec 2012 12:55:39 +0000 (13:55 +0100)]
limitmap local:* matches against all metadata fields
Adam Dickmeiss [Fri, 7 Dec 2012 12:34:33 +0000 (13:34 +0100)]
Split check_limit_local to two functions
Adam Dickmeiss [Thu, 6 Dec 2012 16:06:50 +0000 (17:06 +0100)]
Allow repeated list in limitmap spec
Separated by comma. For example: value="local:title,rpn:@attr 1=4".
Adam Dickmeiss [Wed, 5 Dec 2012 11:59:05 +0000 (12:59 +0100)]
New element <message> in bytarget response
Holds diagnostic message of code (say 'Unsupported Use Attribute' for
Bib-1 114).
Adam Dickmeiss [Fri, 30 Nov 2012 13:55:38 +0000 (14:55 +0100)]
Wait longer for slow Solr
Adam Dickmeiss [Fri, 30 Nov 2012 13:35:00 +0000 (14:35 +0100)]
Improved logging for record ingestion failures
Adam Dickmeiss [Thu, 15 Nov 2012 12:50:14 +0000 (13:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 15 Nov 2012 12:47:18 +0000 (13:47 +0100)]
Avoid using 'icu_chain' in non-YAZ_HAVE_ICU mode
Not that it happens often.
Dennis Schafroth [Fri, 2 Nov 2012 18:59:28 +0000 (19:59 +0100)]
Lower loglevel
Dennis Schafroth [Mon, 5 Nov 2012 14:28:53 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test
Dennis Schafroth [Mon, 5 Nov 2012 14:28:49 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test
Dennis Schafroth [Mon, 29 Oct 2012 11:26:04 +0000 (12:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 26 Oct 2012 19:04:55 +0000 (21:04 +0200)]
test_filter: use fast ztest, adjust 1st query
Adam Dickmeiss [Mon, 22 Oct 2012 08:37:38 +0000 (10:37 +0200)]
Define log2(x) on Windows
This is because log2 is not defined by math.h on Windows.
Adam Dickmeiss [Mon, 22 Oct 2012 08:36:38 +0000 (10:36 +0200)]
Include windows.h on Windows
This is to ensure that struct timeval is defined.
Adam Dickmeiss [Fri, 19 Oct 2012 13:14:24 +0000 (15:14 +0200)]
Use dpkg-buildflags in build process
This is to use hardening options for the libraries and programs.
Refer to http://wiki.debian.org/Hardening for more information.
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:50 +0000 (15:09 +0200)]
Fix spelling
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:03 +0000 (15:09 +0200)]
Remove boilerplate stuff from copyright
Dennis Schafroth [Thu, 11 Oct 2012 09:13:57 +0000 (11:13 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 11 Oct 2012 09:13:48 +0000 (11:13 +0200)]
Lower logging to debug. Should be put into a config logging module
Adam Dickmeiss [Thu, 11 Oct 2012 07:56:13 +0000 (09:56 +0200)]
Version 1.6.22
Adam Dickmeiss [Thu, 11 Oct 2012 07:55:04 +0000 (09:55 +0200)]
Mention 1.6.22 as release where ranking stuff was changed.
Adam Dickmeiss [Wed, 10 Oct 2012 19:21:33 +0000 (21:21 +0200)]
Avoid session memory for client sort stuff
The session mem gets reset and results in sort_strategy and sort_critiera
being corrupted - to empty strings or even vialation.
Dennis Schafroth [Wed, 10 Oct 2012 13:52:33 +0000 (15:52 +0200)]
Update
Dennis Schafroth [Wed, 10 Oct 2012 12:57:26 +0000 (14:57 +0200)]
Merge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834
Dennis Schafroth [Wed, 10 Oct 2012 12:57:11 +0000 (14:57 +0200)]
Merge with master. Kept new solr test results
Dennis Schafroth [Wed, 10 Oct 2012 11:21:31 +0000 (13:21 +0200)]
Result from paz-834 branch
Dennis Schafroth [Wed, 10 Oct 2012 11:19:19 +0000 (13:19 +0200)]
New results for new test. Two sessions towards one target (connection sharing).
Dennis Schafroth [Wed, 10 Oct 2012 11:17:44 +0000 (13:17 +0200)]
New tests: Two sessions towards same target. Crash on show in 1.6.21 in test 14
Dennis Schafroth [Wed, 10 Oct 2012 10:58:16 +0000 (12:58 +0200)]
Test result now sorted correctly
Dennis Schafroth [Wed, 10 Oct 2012 10:47:28 +0000 (12:47 +0200)]
New test result: Now actually sort as requested
Dennis Schafroth [Wed, 10 Oct 2012 10:44:21 +0000 (12:44 +0200)]
Use CURRENT sort parameters to check with previous
Dennis Schafroth [Wed, 10 Oct 2012 10:17:25 +0000 (12:17 +0200)]
Do not reingest/search if no client requires research
Dennis Schafroth [Wed, 10 Oct 2012 09:25:31 +0000 (11:25 +0200)]
New result due to change in behavior
Dennis Schafroth [Wed, 10 Oct 2012 09:25:27 +0000 (11:25 +0200)]
New result due to change in behavior
Dennis Schafroth [Wed, 10 Oct 2012 09:03:23 +0000 (11:03 +0200)]
Merge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834
Dennis Schafroth [Wed, 10 Oct 2012 08:59:54 +0000 (10:59 +0200)]
Return 1 on research. 0 on no research
Adam Dickmeiss [Tue, 9 Oct 2012 12:38:28 +0000 (14:38 +0200)]
Require YAZ 4.2.40 or later.
Dennis Schafroth [Tue, 9 Oct 2012 13:00:05 +0000 (15:00 +0200)]
Completes. But still wrong tests
Adam Dickmeiss [Tue, 9 Oct 2012 12:38:28 +0000 (14:38 +0200)]
Require YAZ 4.2.40 or later.
Dennis Schafroth [Mon, 8 Oct 2012 21:41:42 +0000 (23:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 8 Oct 2012 21:29:00 +0000 (23:29 +0200)]
Dennis Schafroth [Mon, 8 Oct 2012 21:26:05 +0000 (23:26 +0200)]
Dennis Schafroth [Mon, 8 Oct 2012 20:32:58 +0000 (22:32 +0200)]
remove new result if same
Dennis Schafroth [Mon, 8 Oct 2012 20:32:11 +0000 (22:32 +0200)]
Update test
Dennis Schafroth [Mon, 8 Oct 2012 20:17:58 +0000 (22:17 +0200)]
Fix: set research flag on new query/limit. More logging.
Dennis Schafroth [Mon, 8 Oct 2012 18:27:15 +0000 (20:27 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 8 Oct 2012 18:26:54 +0000 (20:26 +0200)]
Typo
Dennis Schafroth [Mon, 8 Oct 2012 14:28:04 +0000 (16:28 +0200)]
Add limits (PQF) to log
Dennis Schafroth [Mon, 8 Oct 2012 13:24:11 +0000 (15:24 +0200)]
Fix comment. Fix sort fields
Dennis Schafroth [Mon, 8 Oct 2012 13:23:29 +0000 (15:23 +0200)]
refactor the search/show to command to use common code path
Dennis Schafroth [Mon, 8 Oct 2012 13:22:34 +0000 (15:22 +0200)]
Rewrote the search parsing and moved the ZOOM option sortby2 configuration to later
Dennis Schafroth [Mon, 8 Oct 2012 13:21:33 +0000 (15:21 +0200)]
Headers for new methods
Dennis Schafroth [Mon, 8 Oct 2012 09:04:31 +0000 (11:04 +0200)]
Refactor code out to stand-alone functions. This is to support one code path
for both search and show command.
Dennis Schafroth [Mon, 8 Oct 2012 09:03:30 +0000 (11:03 +0200)]
Refactor interfaces to handle the differences between search and show command
to obtain one code path for these.
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:55 +0000 (14:57 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:34 +0000 (14:57 +0200)]
Separate chapter about ranking
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:27 +0000 (14:57 +0200)]
Fix spelling